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