Wow, only my second post and it's another IE gripe...maybe I should rename the blog to something like "The I ****ing HATE Internet Explorer Blog" ;-)
Anyway,
our site was suffering the
IE 3px gap layout problem, which in itself is mildly annoying, but for some reason was also causing certain elements to be forced down below the end of the navigation, leaving a big whitespace in the middle of the content. My fix was to float the content using the
* html hack (YAY! Relying on a bug to fix a bug. Way to go, IE!) which has pretty much the same effect as setting
height: 1% (forces IE to use the float model, by means of ANOTHER bug).
We had a nice, prominent, graphical button showcasing a major feature of our site, right in the middle of the home page, which would cause the entire floating content to be thrown down below the navigation. Ugh.
More research, grey hairs, and the discovery of the
IE/Win Expanding Box Bug, the cause of our problem.
So far I can find only two solutions:
- Forcing the page width. NO. NO, and NO. Absolutely not. The site is meant to be fluid, not constrained to some stupid pixel limit.
- Reducing the width of the image. This is the one I went with (I think it looks better that way anyway).
There is probably a perfectly good workaround which would have helped, but I have other things to do besides fighting IE all day over one little thing. Life's too short.