Edit This Code:
See Result »
Click the button to get the left and top offsets for the test div.
Try it
offsetLeft:
offsetTop:
Result: