Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_marginLeft Next Topic: IHTMLRuleStyle::put_margin |
IHTMLRuleStyle::get_marginLeft
HRESULT get_marginLeft( VARIANT *p );Retrieves the value of the CSS margin-left 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. See margin-left for details. This parameter receives NULL if the attribute is not set.
See also put_marginLeft
IHTMLRuleStyle::put_marginLeft
HRESULT put_marginLeft( VARIANT v );Sets the value of the CSS margin-left attribute for the element. The attribute determines the width of the left margin for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the width of the left margin. The width can be positive or negative. See margin-left for details. Set this parameter to NULL to remove the attribute.
See also get_marginLeft
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.