style.backgroundAttachment (Property)

The means of attachment for the style.


CSS level - 1
DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.backgroundAttachment
CSS syntax:background-attachment: aSwitch
Argument list:aSwitchA switch setting for fixed or scrolling

This property determines how a background image, if you have one, is attached to the document on display. The following values are appropriate for this property:

Fixing the image allows the document content to slide over it as if the two were on separate layers.


See also:style.background, style.backgroundImage