I did some tests a while back to determine how to get valid values for
the browser viewport (i.e client area):
http://www.asquare.net/javascript/
Window.getClientHeight() is implemented as:
if ($wnd.innerHeight)
return $wnd.innerHeight;
return $doc.body.clientHeight;
As you can see in the result matrix, getClientHeight() returns the
height of the body element in IE6 and Firefox when in strict rendering
mode:
http://www.asquare.net/javascript/tests/ViewportTestResults.html
Search the group for "strict mode" or "standards mode" and you will
find many more issues. I'd recommend sticking with quirks mode for the
time being.
--
Mat Gessel
http://www.asquare.net