offsetParent
offsetParent returns a reference to the object which is the closest (nearest in the containment hierarchy) positioned containing element. If the element is non-positioned, the root element (html in standards compliant mode; body in quirks rendering mode) is the offsetParent.
Syntax
parentObj = element.offsetParent
Parameters
parentObj is an object reference to the element in which the current element is offset.
Example
example hereNotes
Specification
Netscape Communications http://developer.netscape.com |