Export (0) Print
Expand All

offsetParent property

Retrieves a reference to the container object that defines the IHTMLElement::offsetTop and IHTMLElement::offsetLeft properties of the object.

Syntax

HRESULT value = object.get_offsetParent(Element** p);

Property values

Type: Object

the container object.

Remarks

Most of the time the IHTMLElement::offsetParent property returns the body object.

See also

Measuring Element Dimension and Location with CSSOM in Internet Explorer 9

 

 

Community Additions

ADD
Show:
© 2014 Microsoft