offsetWidth //返回盒模型的宽度(包括width+左右padding+左右border)
以上div1的offsetWidth为width+2*padding+2*border=200+2*5+2*2=214px
ps:offsetLeft = left+margin-left
offsetTop = top+margin-top
offsetWidth //返回盒模型的宽度(包括width+左右padding+左右border)
以上div1的offsetWidth为width+2*padding+2*border=200+2*5+2*2=214px
ps:offsetLeft = left+margin-left
offsetTop = top+margin-top