Element Properties: offsetHeight

By: Dusty Arlia
Published on Friday, August 23, 2013, 09:08 PM
Last Updated on Tuesday, July 14, 2015 at 12:19 AM
Total Updates: 3

The readonly offsetHeight property of any HTML element, returns the height of that element including its padding, scrollbar, and border in pixels (it does not include its margin).

Here is the basic syntax of the offsetHeight property:

var offsetHeight_value = element.offsetHeight;

Comments:

Ad:

Ad: