Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_paddingRight Next Topic: IHTMLStyle::get_pageBreakAfter |
IHTMLStyle::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
IHTMLStyle::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.