backgroundAttachment property
[This documentation is preliminary and is subject to change.]
Sets or retrieves how the background image is attached to the object within the document.
Syntax
Integer value = object.put_backgroundAttachment(BSTR v);Integer value = object.get_backgroundAttachment(BSTR* sAttachment);
Property values
Type: BSTR
scroll (scroll)
Default. Background image scrolls with the object as the document is scrolled.
fixed (fixed)
Background image stays fixed within the viewable area of the object.
String format
scroll | fixed
CSS information
| Applies To | All elements |
| Media | visual |
| Inherited | no |
| Initial Value |
Remarks
This property can be set with the other background properties by using the background composite property.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Header |
|
DLL |
Mshtml.dll |
Build date: 1/23/2012