Makes sense for the most part
But the last question is why the XHTML acts different for DIV elements than the HTML 4.0 transitional documents? This occurs in both browsers and I'm not sure why the change.
Also, while I'm at it: Is there a DOM way of doing things with regard to measuring coordinates relative to the viewable area? What I need is to measure the view resolution but the following attributes are not DOM'd:
- offsetHeight
- clientHeight
- clientWidth
- offsetWidth
- clientTop
- clientWidth
So without these, how is one supposed to know how to do calculations on where the element is and where it should be.