CheeLinks
Search
All Topics
The World
Next
Previous
Expand Subtopics
Topics:
HTML padding, border, and margin
offsetWidth includes scrollbar, padding, and border
web
web
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Determining_the_dimensions_of_elements
while style.width and height include only the scrollbar
but style.left and top include everything (that is, they are outside of all of them)
To visit the web page, click the title or the word "web" or the URL.