CSS Height Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies the height of an element's content area. It does not include the padding, borders, or margins.
Syntax
height: [value];
Possible values
- [length]
- [percentage]
- auto
- inherit
Initial Value
Auto
Applies To
All except for table columns, column groups, and non-replaced inline elements
Inherited
No
Media
Visual
Example
p {height: 100px; width: 63px;}