This is something that I've been wondering about. Does anyone think CSS
could benefit from a value of background-attachment that is relative to
the top left corner of the root element (basically, like fixed except it
scrolls with the document instead of staying in one place)?
Fixed backgrounds are handy, but the problem is it gives people a sense
of depth that page authors don't always want to exist, and all other
values of background-attachment are relative to the containing element.
You can calculate the distance, of course, but that causes the CSS to
depend on the structure of the HTML.
--
http://www.mozilla.org/products/firefox/ - Get Firefox!
http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox!