clientWidth 不包含boder的宽度 内容区域
offsetWidth 包含boder的宽度 可视区域
clientWidth offsetWidth
猜你喜欢
转载自www.cnblogs.com/dunke/p/9231191.html
今日推荐
周排行