This page shows how having a "position: relative" element (the #newTopLeft div) in your code changes the way an inner element set to "position: absolute" functions. The top: 0; left: 0 position is now going to be the upper top/left of the #newTopLeft div.

What we need is a why to calculate the true top/left corner of the document. In order to do this, we need to do a negative offset based upon the #newTopLeft div.

Click the button below to see where it moves.

Cell 1
Cell 2