Just a quick update to say that the IE bug has been fixed by essentially putting the iFrame in another div, restricting its ability to break the layout. I've therefore enabled fluid layout for IE again.
Strangely, the fluid layout did work in IE, but only if you tried to resize the window and not when the page loaded. After messing about with CSS and even Javascript, it turns out the simplest solution worked the best. It seems that IE wasn't properly treating the iFrame as a block element and rendering with all dimensions taken into account when the page was first loaded, so the div does all that in place of the iFrame.
Code is bloated, but that's what happens when you try to make it work in as many browsers as possible (at least the top two).
Subscribe to:
Post Comments (Atom)
1 comment:
Ah, that way does indeed make sense.
Post a Comment