LWN.net Logo

background-attachment

background-attachment

Posted Jul 5, 2007 2:10 UTC (Thu) by midg3t (subscriber, #30998)
In reply to: Test driving Firefox 3 by cyrus
Parent article: Test driving Firefox 3

The jerkiness is because the background image is fixed. The rest of the document can't be rendered off-screen for quick scrolling because the position of the background relative to the rest of the page (text, etc) is unknown untill the scrolling actually takes place.

The culprit is usually the background-attachment CSS property. Everybody should leave it at the default value of "scroll".


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds