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
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 M. Gillenwater
Highway Safety Research Center
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/