- 博客(1)
- 问答 (1)
- 收藏
- 关注
原创 html中height,offsetheight等差别
clientHeight大部分浏览器对 clientHeight 都没有什么异议,都认为是内容可视区域的高度,也就是说页面浏览器中可以看到内容的这个区域的高度,即然是指可看到内容的区域,滚动条不算在内。但要注意padding是算在内。其计算方式为clientHeight = topPadding + bottomPadding+ height - scrollbar.height。of...
2014-03-05 11:07:11 481
空空如也
为什么不能在论坛中提问
2011-04-22
TA创建的收藏夹 TA关注的收藏夹
TA关注的人