![document.documentElement.clientHeight 与document.body.clientHeight (杜绝千篇一律的抄袭!!)_51CTO博客_document.documentElement.clientHeight document.documentElement.clientHeight 与document.body.clientHeight (杜绝千篇一律的抄袭!!)_51CTO博客_document.documentElement.clientHeight](https://s2.51cto.com/images/blog/202108/07/c13d5a7fa66dffd169ef2fea49b303f8.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
document.documentElement.clientHeight 与document.body.clientHeight (杜绝千篇一律的抄袭!!)_51CTO博客_document.documentElement.clientHeight
![html - Understanding offsetWidth, clientWidth, scrollWidth and -Height, respectively - Stack Overflow html - Understanding offsetWidth, clientWidth, scrollWidth and -Height, respectively - Stack Overflow](https://i.stack.imgur.com/5AAyW.png)
html - Understanding offsetWidth, clientWidth, scrollWidth and -Height, respectively - Stack Overflow
![Section H. Dimensions and position of elements | ppk on JavaScript. Modern, Accessible, Unobtrusive JavaScript Explained by Means of Eight Real-World Example Scripts2006 Section H. Dimensions and position of elements | ppk on JavaScript. Modern, Accessible, Unobtrusive JavaScript Explained by Means of Eight Real-World Example Scripts2006](https://flylib.com/books/1/521/1/html/2/images/ppjks_9_5.jpg)
Section H. Dimensions and position of elements | ppk on JavaScript. Modern, Accessible, Unobtrusive JavaScript Explained by Means of Eight Real-World Example Scripts2006
![document.documentElement.clientHeight和document.body.clientHeight 区别_51CTO博客_document.documentElement.clientHeight document.documentElement.clientHeight和document.body.clientHeight 区别_51CTO博客_document.documentElement.clientHeight](https://s2.51cto.com/images/blog/202105/31/55e25c34f0944c5f3b9b534cc5bd9cf5.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)