W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Fourth value for background-attachment?

From: Kelly Miller <lightsolphoenix@gmail.com>
Date: Sun, 17 Apr 2005 22:38:53 -0400
Message-ID: <42631DBD.7030107@gmail.com>
To: www-style@w3.org

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!
Received on Monday, 18 April 2005 02:38:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:17 UTC