'background-attachment' Syntax and Note : background attachment « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'background-attachment' Syntax and Note

Note:

Whether the background image remains fixed or scrolls with the content.

Syntax:
    
element { background-attachment: value }
elementID.style.backgroundAttachment = "value"
document.all.elementID.style.backgroundAttachment = "value" // IE only
    

      
      








Related examples in the same category

1.'background-attachment' Example
2.'background-attachment' Possible Values
3.'background-attachment' is applied to