Actually a <!DOCTYPE HTML> declaration means standard mode, not strict. So you are fine with it. See https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Standards To force IE8 standard mode try to add in the head element
<meta http-equiv="X-UA-Compatible" content="IE=8"> See http://code.google.com/p/google-web-toolkit/wiki/IE8Support On Wednesday, December 19, 2012 3:17:54 AM UTC+1, Magnus wrote: > > Hi, > > in the meantime I tried more than 5 different approaches, using divs with > float or display:table/row/cell and that. All approaches work with all > browsers except IE8! So I found that the problem may not be located within > the CSS! > > The key observation for me is that the problem went away while playing > around with IE's display and document "modes": When switching to "IE8 > standards mode", it works fine! When it didn't work, IE was in "IE 7 > standards mode (page standard)". > > So the non-working "IE 7 standards mode" is the "page standard". One > approach could be to make IE asume that the working "IE 8 standards mode" > is the "page standard". But how? > I found that my host page simply begins with "<!doctype html>". I know > that this means "strict mode", but can we extend this so that IE assumes > its "IE8 standards mode"? > > My current goal is to make IE switch to "IE8 standards mode" > automatically. I believe that it could be a solution to guide IE into that > direction... > > Magnus > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Wn9z4pvQRIIJ. To post to this group, send email to google-web-toolkit@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.