We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

element.clientHeight Redirect 1

« element

The Element.clientHeight read-only property returns the inner height of an element in pixels, including padding but not the horizontal scrollbar height, border, or margin.

clientHeight can be calculated as CSS height + CSS padding - height of horizontal scrollbar (if present).

Note: This property will round the value to an integer. If you need a fractional value, use element.getBoundingClientRect().


var h = element.clientHeight;

h is an integer representing height of the element in pixels.



Gentle, individualistic and very loyal, Birman cats fall between Siamese and Persian in character. If you admire cats that are non aggressive, that enjoy being with humans and tend to be on the quiet side, you may well find that Birman cats are just the felines for you.

Image:BirmanCat.jpgAll Birmans have colorpointed features, dark coloration of the face, ears, legs and tail.

Cat image and text coming from http://www.best-cat-art.com/





Specification Status Comment
CSS Object Model (CSSOM) View Module
The definition of 'clientheight' in that specification.
Working Draft  


clientHeight is a property introduced in the Internet Explorer object model.

See Also

Document Tags and Contributors

Last updated by: Sheppy,