max-height, min-height | NN n/a IE n/a CSS 2 |
  | Inherited: No |
These attributes let you establish a minimum and/or maximum height for an element. You can bracket the permissible height of an element regardless of the height caused by the natural flow of the content. | |
CSS Syntax max-height: length | percentage min-height: length | percentage | |
Value See the discussion of length values at the beginning of the chapter. The value may also be a percentage that is calculated relative to the element's container. | |
Initial Value 0 (min-height); 100% (max-height). | |
Applies To All elements. |