backgroundAttachmentbackgroundAttachment*
*Contents  *Index  *Topic Contents
*Previous Topic: background
*Next Topic: backgroundColor

backgroundAttachment

Description

Sets or retrieves whether the background image scrolls with the content or is fixed.

Syntax

object.style.backgroundAttachment[ = scroll]

Remarks

Possible values include:
fixedBackground image does not scroll with the content.
scrollBackground image scrolls with the content.

The property has read/write permission.

Applies To

HTML Tags BODY, HTML
Scripting style

CSS Attribute

background-attachment


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.