Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_paddingTop Next Topic: IHTMLRuleStyle::put_paddingRight |
IHTMLRuleStyle::get_paddingTop
HRESULT get_paddingTop( VARIANT *p );Retrieves the value of the CSS padding-top 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 padding-top for details. This parameter receives NULL if the attribute is not set.
See also put_paddingTop
IHTMLRuleStyle::put_paddingTop
HRESULT put_paddingTop( VARIANT v );Sets the value of the CSS padding-top attribute for the element. The attribute determines the amount of space between the border and the top of the element's content.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the amount of top padding. See padding-top for details. Set this parameter to NULL to remove the attribute.
See also get_paddingTop
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.