clientWidth、clientHeight、clientLeft、clientTop:包含滚动条
offsetWidth、offsetHeight、offsetLeft、offsetTop:包含边框
offsetParent
scrollWidth、scrollHeight、scrollLeft、scrollTop
clientWidth、clientHeight、clientLeft、clientTop:包含滚动条
offsetWidth、offsetHeight、offsetLeft、offsetTop:包含边框
offsetParent
scrollWidth、scrollHeight、scrollLeft、scrollTop