Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_textTransform Next Topic: IHTMLStyle::get_verticalAlign |
IHTMLStyle::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. See top for details. The variable receives NULL if the attribute is not set.
See also put_top
IHTMLStyle::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. See top for details. Set this parameter to NULL to remove the attribute.
See also get_top
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.