获取一个容器的宽

四种方法方法

 

* width() 内容 * innerWidth() 内容+内边距 * outerWidth() 内容+内边距+边框 * outerWidth(true) 内容+内边距+边框+外边距

相关文章
相关标签/搜索