Menu
Hi,
Is there any way I can get the position of a div (specified as position:absolute) relative to its parentNode.
My requirement is that i need to move a div tag inside one main div tag. The inner div tag has its style specified as position:absolute;. Hence when i try to restrict the movement of the inner div within the boundaries of the outer div, it is not happening so. There is a difference of 15px between the left=0px of inner and left=0px in case of outer div tags. do i have a method where i can get this difference from some attributes or formulae???
Thanks in advance.