W3C home > Mailing lists > Public > site-comments@w3.org > July 2001

Re: http://www.w3.org/StyleSheets/TR/base.css

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 21 Jul 2001 20:23:53 +0200
To: Jacob Kjome <hoju@visi.com>
Cc: site-comments@w3.org
Message-ID: <l3hjlt8nolilpo3mfp1u2tdkjpddf79aia@4ax.com>
* Jacob Kjome wrote at www-validator-css@w3.org:
>I'm wondering why the base stylesheet used for the css validator site uses 
>background-attachment: fixed;?
>
>The relevant css is here:
>
>body {
>   background: white;
>   background-position: top left;
>   background-attachment: fixed;
>   background-repeat: no-repeat;
>}
>
>All this ends up doing is slow down useragents when scrolling the page.
>
>you could get rid of the following:
>
>   background-position: top left;
>   background-attachment: fixed;
>   background-repeat: no-repeat;
>
>and leave in:
>
>   background: white;
>
>This would provide exactly the same effect and would have the advantage of 
>not slowing down scrolling so drastically (currently looking at the 
>scrolling behavior in Mozilla latest nightly).  The only reason to use 
>fixed backgrounds are for keeping nify looking background images in one 
>spot and scrolling the text over the top of the fixed image.  In this case, 
>its just plain white so, why bother?

Directed to site-comments@w3.org.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Saturday, 21 July 2001 14:24:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:26 GMT