Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_background Next Topic: IHTMLStyle::get_backgroundColor |
IHTMLStyle::get_backgroundAttachment
HRESULT get_backgroundAttachment( BSTR *p );Retrieves the value of the CSS background-attachment attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute, which can be one of these strings:
fixed Background image remains fixed. scroll Background image scrolls with text. - See background-attachment for details.
See also put_backgroundAttachment
IHTMLStyle::put_backgroundAttachment
HRESULT put_backgroundAttachment( BSTR v );Sets the value of the CSS background-attachment attribute for the element. If the element has a background image, this attribute determines if the image is fixed with regard to the text of the element, or if it scrolls with the text.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the value of the attribute, or NULL to remove it. Can be one of these strings:
fixed Background image remains fixed. scroll Background image scrolls with text. - See background-attachment for details.
See also get_backgroundAttachment
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.