IHTMLRuleStyle::get_backgroundAttachmentIHTMLRuleStyle::get_backgroundAttachment*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_backgroundAttachment
*Next Topic: IHTMLRuleStyle::put_backgroundPosition

IHTMLRuleStyle::get_backgroundAttachment


HRESULT get_backgroundAttachment(
    BSTR *p 
);

Retrieves the value of the CSS background-attachment attribute for the element.

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

Up Top of Page


IHTMLRuleStyle::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.

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


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