public marks

PUBLIC MARKS from mostpopular with tags opera & element

18 February 2007 17:45

JavaScript - Find position

by 4 others
The answer is: relative to the offsetParent. Although the browsers have sharp disagreements on the identity of the offsetParent, we do not really need to know, since the offsetParent property always contains a reference to the correct HTML element.