I have some elements arranged through CSS as follows:
#myItem{
position: absolute;
left: 50%;
margin-left: -350px;
}
I would like to get the distance from the top and left margins of the page . How can I get this measure using javascript / jquery?
thank
source
share