Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_posHeight Next Topic: IHTMLStyle::get_posLeft |
IHTMLStyle::get_position
HRESULT get_position( BSTR *p );Retrieves the value of the CSS position attribute for the element. The attribute specifies whether the element can be positioned and, if so, the position of the element relative to its parent object.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute, which can be one of these strings:
absolute The element is placed relative to the document. relative The element is placed relative to its parent object. static The element cannot be positioned. - See position for details. This variable receives NULL if the attribute is not set.
The position attribute is not inherited.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.