JQuery获取DIV高度
$("#content").height();$("#content").innerHeight();//元素内部区域高度,忽略padding、border$("#content").outerHeight();//忽略边框$("#content").outerHeight(true);//包含边框高度
平淡中储蓄成长
相关文章
发表评论
评论列表
- 这篇文章还没有收到评论,赶紧来抢沙发吧~
$("#content").height();$("#content").innerHeight();//元素内部区域高度,忽略padding、border$("#content").outerHeight();//忽略边框$("#content").outerHeight(true);//包含边框高度