Alan Gresley wrote:

> This seems to be some bug in IE7 that will show a background image at 
> the bottom of a div (containing block) when the container does not have 
> layout but the container does not need layout if the container itself 
> has a background color. This I do not understand.


I now see that this bug connected to the IE peekaboo bug and the IE 
rendering band bug. Apart from the unusual layout this bug must have 
part of Eric Meyer's reset to function among other styles present.


div {
   background: transparent;
}

body {
   font:100%/1.295 Georgia,"Times New Roman",Times,serif;
}


It's doesn't matter if the the font size is in pixel of percent. Jeff, I 
would recommend that you just divide the above styles like this

body {
   font-size:100%;
   line-height:1.295;
   font-family:Georgia,"Times New Roman",Times,serif;
}


since when divided, the bug is present. And here's are lovely demos.


<http://css-class.com/test/bugs/ie/escaping-background-image-bug1.htm>
<http://css-class.com/test/bugs/ie/escaping-background-image-bug2.htm>


Does IE8 show any weirdness with these demo?


-- 
Alan http://css-class.com/

Nearly all men can stand adversity, but if you want to test a man's 
character, give him power - Abraham Lincoln
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to