logo       

Re: Stupid question regarding background images and scrollin: msg#01143

Subject: Re: Stupid question regarding background images and scrollin
Paul Seale wrote:
> What I would like to happen is for the background to scroll down with the
> text. Thoughts?
> 

http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background-attachment

.selector {
        background-attachment: fixed;
}

A practical example is here:
http://www.dellwebsites.com/web/box/fixed.html

Although I believe this won't work in IE6, they've fixed it in IE7 (IIRC).
______________________________________________________________________
css-discuss [css-d-FPEHb7Xf0XVf4fvhJAioeSCwEArCW2h5@xxxxxxxxxxxxxxxx]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/



<Prev in Thread] Current Thread [Next in Thread>