What's new?
|
Help
|
Directory
|
Sign in
doctype
Documenting the open web
Project Home
Wiki
Issues
Source
Search
Search Within:
All Wiki Pages
Featured Pages
Current Pages
Deprecated Pages
for
Updated
Sep 19, 2008
by
pilgrim
Labels:
about-css
,
is-css-property
,
from-w3c
MaxHeightCSSProperty
The max-height property sets the maximum height of a box.
You are here:
Home
>
CSS Reference
>
Properties
>
max-height
Usage
Values
<length>
<percentage>
none
inherit
Browser compatibility
Compatibility table legend
Test
IE8
IE7
IE6
FF3
FF2
Saf3
Op9
Chrome
style.maxHeight reflects <div style='max-height: 0'>
Y
Y
N
Y
Y
Y
Y
Y
style.maxHeight reflects <div style='max-height: 1cm'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1em'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1ex'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1in'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1mm'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1pc'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1pt'>
Y
Y
N
N
N
N
Y
N
style.maxHeight reflects <div style='max-height: 1px'>
Y
Y
N
Y
Y
Y
Y
Y
style.maxHeight reflects <div style='max-height: 42%'>
Y
Y
N
N
N
Y
Y
Y
style.maxHeight reflects <div style='max-height: none'>
Y
Y
N
Y
Y
Y
Y
Y
Further reading
The max-height property in CSS 2.1
The max-height property on MSDN
The history of the max-height property on blooberry.com
The max-height property on the SitePoint CSS Reference
Sign in
to add a comment