W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2001

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

From: Jacob Kjome <hoju@visi.com>
Date: Mon, 16 Jul 2001 12:50:07 -0500
Message-Id: <5.1.0.14.2.20010716124313.036cfe28@cismail.creativeis.com>
To: 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?

Jake
Received on Monday, 16 July 2001 13:46:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:13:59 GMT