clientHeight Property | offsetHeight Property Sample

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.




[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.