总结
height() // 高度为 height ,
innerHeight() // 高度为 height+padding ,
outerHeight() // 高度为 height+padding+border ,
outerHeight(true) // 高度为 height+margin+padding+border ;
height() // 高度为 height ,
innerHeight() // 高度为 height+padding ,
outerHeight() // 高度为 height+padding+border ,
outerHeight(true) // 高度为 height+margin+padding+border ;
本文标题:jQuery获取元素的各种高度
本文链接:https://www.haomeiwen.com/subject/hazleftx.html
网友评论