Edit This Code:
See Result »
Click the button to get offsetLeft for the test div.
Try it
offsetLeft is:
Result: