HTML and CSS Reference
In-Depth Information
Name
height
Values:
<length> | <percentage> | auto
Initial value:
auto
Applies to:
All elements exceptnonreplaced inline elements, table columns, and column groups
Inherited:
No
Percentages:
Calculated with respect to the height of the containing block
Computed value:
For auto and percentage values, as declared; otherwise, an absolute length, unless the prop-
erty does not apply to the element (then auto )
Description:
Defines the height of either an element's content area or its border box, depending on the value
of box-sizing . Negative length and percentage values are not permitted.
Examples:
img.icon {height: 50px;}
h1 {height: 1.75em;}
Search WWH ::




Custom Search