- Description
Also (min-height), sets the maximum/minimum height of an element. Overflow should be specified when using max-height with content likely exceed the set value.
- Example
div{ min-height:20px; max-height:100px; overflow:scroll; }
- Values
- length and percentage values
- Default value
- none
- Introduced in CSS version
- 2.1
- Inherited
- No
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 7 1 2 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties