Hi Magnus, When browsers allow to do a predicable layout than it is possible with GWT, too. GWT helps you more or less to overcome some bug, but it isn't perfect. GWT does not check style and try to workaround bug. GWT is able to create different approaches (css) for an specific browser AND widget (if it possible at all)
However, the Mega Scrap (MegaSchrott)-Browsers are a single bug in multiple versions. (by the way IE9 just passes 19 out of 160 html5 tests) When there is a real need to support IE just make a separate project only for IE. Other approaches will just fail. First of all: my experience with IE and % is: don't do it. It just fails. When you want to support IE never use % You may use position:absolute,left/right/top/bottom=0 instead which is nearly the same as 100%, 100% (it differs in the box model) Second is, .chessboard { border:#0000FF 8px inset; padding:25px; float:right; align:center; text-align: center; } style align is non existing. float right is strange here. text-align will not help. Strange is, that you show us two picture of IE and one of FF. But you are talking about two variants of FF and one of IE Center is horizontal possible. I just do this. For vertically center you need CSS3 capabilities (calc), but this is extreme poor supported by all browser. http://www.caniuse.com/#cats=CSS3&statuses=rec,pr,cr,wd,ietf I would avoid vertical centering, or you have to use procedural code (which is terribly slow on IE) Stefan Bachert http://gwtworld.de On 8 Jun., 17:33, Magnus <alpineblas...@googlemail.com> wrote: > Hello, > > after struggeling with the positioning of layout panels without a real > solution (thread "layout problems with positioning or aligning > content") I found out that things are even worse: There are totally > different results with different browsers: > > - Linux + Firefox 3.6.3 > - Windows + Firefox 3.5.2 > - Windows + IE 7 > > Look at the > screenshots:http://h1403230.stratoserver.net/apache2-default/tmp/LayoutTest/Scree... > > The different Firefox versions show the chess board positioned and > aligned differently. And in IE the whole layout is totally broken. > > I believe that either > - I made some serious mistakes (I hope so), or > - predictable layouts are not realizable with GWT > > I have reduced the code to a minimum. If you like, you can view the > main source files or download the whole eclipse project: > > http://h1403230.stratoserver.net/apache2-default/tmp/LayoutTest/ > > What do you think? > > Magnus -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.