Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_top Next Topic: IHTMLRuleStyle::put_left |
IHTMLRuleStyle::get_top
HRESULT get_top( VARIANT *p );Retrieves the value of the CSS 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. The value is a string consisting of a floating-point number and a units designator. The variable receives NULL if the attribute is not set. See top for details.
See also put_top
IHTMLRuleStyle::put_top
HRESULT put_top( VARIANT v );Sets the value of the CSS top attribute for the element. The attribute determines the top position of the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value consisting of a floating-point number and a units designator. Set this parameter to NULL to remove the attribute. See top for details.
See also get_top
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.