摘要: javascript中获取dom元素高度和宽度的方法如下: 网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: 阅读全文
posted @ 2018-07-19 18:37 xiayao.zeng 阅读(200) 评论(0) 推荐(0) 编辑