HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties

max-height


Defines the maximum height a region may expand to if it is relatively sized. Measurements are generally in fixed values although relative units such as percentages may be used.

Example


#div1 {height: 50%; max-height: 500px; overflow: hidden;}

Browser and CSS Support Notes


CSS2
No IE support
Nav 6, 7
Opera 7

(X)HTML Elements
CSS Properties
Back: marks Next: max-width
< Home | About | Chapters | Examples | Errata | Reference | Site Map >