页面元素的一些距离
摘要:
screen:1 screen.width //屏幕的宽度2 screen.availWidth //屏幕可用宽度(除去任务栏等)clientTop:获取 offsetTop 属性和客户区域的实际顶端之间的距离(实际就是元素对应的border属性的宽度), 不知道为啥在firefox下对body求clientTop为0.clientWidth:the width of the object including padding, but not including margin, border, or scroll bar.offsetTop:自身border外边缘相对于父元素或者浏... 阅读全文
posted @ 2013-08-03 15:48 Iori_z 阅读(364) 评论(0) 推荐(0)
浙公网安备 33010602011771号