JavaScript属性

offsetLeft /offsettRight /  offsetWidth /  offsetHeight     获取左右宽高的值(不能设置)

原文地址:https://www.cnblogs.com/bingxing/p/7742689.html