Style Height

Syntax

.height()

Description

The .height method is used to return the css height of the specified element. This property will return your selected element's height including top and bottom padding. The below examples show how to change an element style using height style property.

Example Code

Result:

Jquery Height Style Property.

Click Mouse Once Here

Click Once to Change Height:30px



Ask Questions

Ask Question