July 1998
Intermediate to advanced
1456 pages
65h 5m
English
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.
max-height:length|percentagemin-height:length|percentage
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.
0 (min-height); 100%
(max-height).
All elements.
Read now
Unlock full access