# Position Viewer This page puts IE6 in standards-compliant mode.
document.cbe
width() |
height() |
scrollLeft() |
scrollTop() |
View window and document sizes View E1 sizes
E1: absolutely positioned; parentNode is idDocument.
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
E2: absolutely positioned; parentNode is E1.
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
E3: relatively positioned; parentNode is E2
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
E4: relatively positioned; parentNode is idDocument; parentElement is DIV used for indentation
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
Top E4: relative
E5: absolutely positioned, contains the table.
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
E6: relatively positioned in a table cell. parentNode is E5.
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
E7: absolutely positioned, but defined in a table cell. parentNode is E5.
left() |
top() |
offsetLeft() |
offsetTop() |
pageX() |
pageY() |
| E8: relatively positioned marker for E5

E1
draggable
resizeable
E2
draggable
resizeable
E3
relative

E6 relative Move E7 here | r1c2 Move E7 here
r2c1 Move E7 here | E7 draggable r2c2 Move E7 here

E5 draggable