One little trick you can use is use firebug to inspect the table you want to experiment with and copy it's html to a flat html file and open the html file with IE and play around with it till you get it right. The trick is to get the html how you want it, then roll the changes into the java code using the DOM API. There are many little tricks you can perform to get IE to layout tables correctly and without actually seeing the table html I can give you 2 suggestions:
1) FlexTable.setCellPadding(0); FlexTable.setCellSpacing(0); 2) !!Only do this if you are not using percentages for column widths or row heights anywhere in the table. FlexTable.getElement().getStyle().setProperty("tableLayout", "fixed"); http://blogs.msdn.com/b/ie/archive/2005/02/10/370721.aspx http://msdn.microsoft.com/en-us/library/ms531161.aspx Another thing that can sometimes have an effect on how tables behave in IE is DOCTYPE. Google recomends standards mode for their LayoutPanels and sometimes quirks mode can help(if you aren't using layout panels). On Jul 22, 8:30 pm, Magnus <alpineblas...@googlemail.com> wrote: > Hi Lineman! > > > Make sure you specifically set cellpadding and cellspacing to > > 0 (IE assumes non-zero for one of these, don't remember which). > > I already found out something: First, I only set the margin/padding > values to 0 in the Java code, wich worked on browsers other than IE6. > Then, I *also* set them to 0 in the stylesheet, and not it looks a > little bit less ugly. :-) > > > The way that IE calculates table layout is > > significantly different than the other browsers in some cases and I > > think that with fairly minimal tweaking you will be able to fix these > > issues. > > Ok, but how can I find all the other tweaks? I found the one above, > but I am no CSS specialist. > I want to avoid trying a lot of things without plan and pumping up my > CSS... > > 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.