获取一个容器的宽

四种方法


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

原文地址:https://www.cnblogs.com/coder-lzh/p/11735033.html