What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-css, is-css-property, from-w3c
MinHeightCSSProperty  
The min-height property sets the minimum height of a box.

You are here: Home > CSS Reference > Properties > min-height

Usage

Values

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
style.minHeight reflects <div style='min-height: 0'> N N N N N N Y N
style.minHeight reflects <div style='min-height: 1cm'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1em'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1ex'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1in'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1mm'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1pc'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1pt'> Y Y Y N N N Y N
style.minHeight reflects <div style='min-height: 1px'> Y Y Y Y Y Y Y Y
style.minHeight reflects <div style='min-height: 42%'> Y Y Y N N Y Y Y
style.minHeight reflects <div style='min-height: none'> N N N N N N Y N

Further reading


Comment by hji003, Sep 02, 2008

Dude, every developer knows that min-height doesn't work for IE6.


Sign in to add a comment