min-height

The min-height property constrains the height of an element to a minimum range.

CSS2

min-height: <length> | <percentage> | inherit
Initial: 0
Applies To: all elements but non-replaced inline elements, table columns, and column groups
Inherited: no
Percentages: refer to height of containing block
Media: visual

Note: Doctype is required for Internet Explorer 8+

Values

Δ

min-height: value;
 
Value: Description:
inherit Takes the same computed value as the property for the element's parent
length Fixed minimum height
percentage Height percentage calculated with respect to the height of the containing block

DOM

Δ

[window.]document.getElementById("element-id").style.minHeight = "min-height";

Example | Values | length

Δ

Example | Values | percentage

Δ

Example | DOM

Δ

Reference

Δ