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