Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
offsetParent

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:
© 2015 Microsoft