wsj lab:: JavaScript - get object's current position ?

Click Me!
this is targetBlock1 with all CSS setup within the <style> block
Click Me
I am targetBlock2 with inline style
[x]
When you set the object's position
(top and left attributes of the object's style) within the <style>...</style> block,
you will NOT be able to retrieve the correct value of the object via JavaScript.
To solve this problem, you must use inline style (such as targetBlock2).