offsetWidth=width+padding+border offsetLeft=left+marginLeft offsetTop=top+marginTop 转载于:https://my.oschina.net/zhangyumao/blog/909768