/

HTML / CSS / JavaScript Tutorial

CSS Property: min-height

[this page | pdf | back links]

The CSS (CSS2) min-height property sets the minimum height an element can become. It overrides the height property and the max-height property.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

length

A CSS length

%

Defined as a percentage of that of the containing block

none

(default value). No limit

 

Default Value:

none

JavaScript syntax:

e.g. object.style.minHeight="100px"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile