Previous Message
Next Message

IE 5 background

Sent by Zoe M. Gillenwater on 6 December 2004 12:12


Rowena Padel wrote:

>I'm developing a site for a client and finding very odd behaviour in
>IE5. I have a background image set on the html tag (it was on the body
>and found exactly the same behaviour) that repeats downwards to provide
>a centered content area. I'm finding that sometimes the background image
>appears, sometimes it doesn't, sometimes the whole background goes black
>(even though the colour is set to a shade of blue), but there doesn't
>seem to be any consistency in the problem itself. The pages are
>currently at http://www.sylvaticus.com/randb  and the css is
>http://www.sylvaticus.com/randb/randbstyle.css . 
>  
>

Since it acts very much like the peekaboo bug, I wonder if any of those 
fixes would work?

a. add line-height to "html"
b. add position: relative to "html"
c. add width: 100% to "html"
d. add height: 1% to "html"

If any of these fixes cause problems because they are applied to the 
html element, you could always wrap everything in a container and apply 
the background to that instead.

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: