May 2003
Intermediate to advanced
480 pages
10h 9m
English
This property determines whether the background image assigned to an element scrolls in sync with the element's content or remains fixed in relation to the browser window. For example, if you wanted the top-left corner of your page background image to remain in the top-left corner of the browser window, even as the page was scrolled, you would set background-attachment to fixed.
Inherited: No
See also: Section B.5background-image
fixed or scroll
Initial value: scroll
CSS Version: 1
Supported by Internet Explorer 4 or later, Netscape 6 or later, Opera 5 or later, and all Mozilla browsers.
Internet Explorer for Windows (at least up to version 6) and Opera browsers (up to version 6), ...
Read now
Unlock full access