[thelist] IE5 CSS bug/JS fix

fstorr fffrancis at fstorr.demon.co.uk
Thu Jun 10 13:44:31 CDT 2004


Hi all

I've encountered an annoying CSS bug in IE5.0 (no, really).  I've got a 
background image attached to the <html> tag, which works fine in IE6, 
Moz etc.  In IE5, for some reason the image won't load unless something 
is done to the browser.  That something can be anything: scrolling, 
re-sizing, alt-tabbing, anything.  I need an IE5 fix for about 4 months 
(my company is upgrading to IE6 as we speak), and I've run out of ideas 
on hacking the CSS, I figured I'd just use some JS to re-size the 
browser by 1px to force the image to appear.  A very dirty, nasty 
solution but (unless anyone knows of this CSS bug and a fix for it), I'm 
stuck.

I can't work out the JS needed to do this in IE5.  I need to get the 
height of the user's current browser window and shrink it by 1px.  It 
has to be possible!

Regards

F



More information about the thelist mailing list