This example shows the difference between the dimension retrieved by the
clientHeight
and the dimension retrieved by the
offsetHeight
, the latter including the height of scrollbars.
clientHeight
offsetHeight
[Right-click anywhere in this window to view the source code.]