如何让页面首部有DOCTYPE声明的页面的body依然支持clientHeight属性?
MSDN原文:
What's New for Microsoft® Internet Explorer 6
When you use the !DOCTYPE declaration to specify standards-compliant mode, this object no longer represents the entire surface onto which a document's contents can be rendered. The object can obtain its size from its content, or you can set its size explicitly—like a div object.
意思大概是加了DOCTYPE后,body不再描绘整个内容页面
确实加了DOCTYPE后,document.body.clientHeigh总是等于0
///////////
y有没有办法加了DOCTYPE属性的页面的document.body.clientHeight取得正常的值?