public marks

PUBLIC MARKS from mostpopular with tags curleft & padding

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.

mostpopular's TAGS related to tag curleft

abs +   border +   browsers +   coordinates +   curtop +   doesn +   element +   elements +   function +   html +   layer +   link +   loop +   mozilla +   null +   object +   offset +   offsetleft +   offsetparent +   offsettop +   opera +   operator +   padding +   page +   position +   positioned +   properly +   relative +   return +   script +   test +   work +   wrap +