IHTMLRuleStyle::get_positionIHTMLRuleStyle::get_position*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::get_left
*Next Topic: IHTMLRuleStyle::put_zIndex

IHTMLRuleStyle::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.

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.
This variable receives NULL if the attribute is not set. See position for details.

The position attribute is not inherited.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.