Alan Gresley wrote:
Firstly add a vertical position (y-axis) for the background-image. For
some reason, when the bottom of the viewport is dragged down, this image
after at some point follows along. 9px seems to work in IE7 and FF 3.6.8.
body {
margin: 0;
background-image: url(images/background2.png);
background-color: #220000;
background-repeat: no-repeat;
background-position: center 9px; /* add vertical position */
}
Here we go again. With IE7- it seems that when a background image with
vertical position (y-axis) is center on the body element, the
position-center is not the center of the content of the page but
rather the center of the viewport.
<http://css-class.com/test/bugs/ie/5~7/bg-image-vertical-center-promgated-to-viewport.htm>
--
Alan http://css-class.com/
Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/