CSS Property: max-height
[this page | pdf | back links]
The CSS (CSS2) max-height property sets the maximum
height an element can become. It overrides the 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.maxHeight="200px"
|
|
Inherited:
|
No
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties