摘要:
在内容不够一屏幕的情况下:document.documentElement:(chroma不支持)scrollHeight:整个屏幕的高度(FF,IE都一样)offsetHeight:内容的高度(FF),IE是整个屏幕的高度clientHeight:整个屏幕的高度(FF,IE都一样)document.body:(内容的高度)scrollHeight:内容的高度(FF,IE一样)offsetHeight:(FF,IE都一样)clientHeight:内容的高度(FF,IE一样)在内容超过一屏幕的情况下:document.documentElement:scrollHeight:文档的高度(FF, 阅读全文