元素的宽度,高度,离左边的距离,离右边的距离。比如:我想知道body的宽度,高度,离左边的距离,离右边的距离.通过document.body.offsetWidth,document.body.offsetHeight,document.body.offsetLeft,document.body.offsetRight便可以计算出来、