Aptana Studio ƒwƒ‹ƒv > Reference > CSS > CSS Properties

background-attachment

Specifies whether or not the background image is fixed or scrollable as a user scrolls the document.

Platform Support

IE Netscape Mozilla Opera Safari
5.0+ 6.0+ 1.0+ 4.0+ 1.0+
  • IE: IE uses the value "local" instead of "scroll".

Usage

["scroll" | "fixed"]

Values

inherit Inherit the value from the parent element.
scroll Background image scrolls with the document.
fixed Background image is fixed as the document scrolls.

Example

For additional information and a demonstration of the background-attachment attribute, see the demo page on quirksmode:

http://www.quirksmode.org/css/background.html

Availability

W3C CSS2

Related

text_css aptana_docs