HTML and CSS Reference
In-Depth Information
Name
min-height
Values:
<length> | <percentage>
Initial value:
0
Applies to:
All elements except inline nonreplaced elements and table elements
Inherited:
No
Percentages:
Refer to the width of the containing block
Computed value:
For percentages, as declared; for length values, the absolute length
Description:
Defines a minimum constraint on the height of the element (the exact nature of that height
is dependent on the value of box-sizing ). Thus, the element can be taller than the declared
value, but not shorter. Negative values are not permitted.
Example:
div#footer {min-height: 1em;}
Search WWH ::




Custom Search