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

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 UTC