HTML and CSS Reference
In-Depth Information
height
Used to specify the height of an element's content area.
Value: <length> | auto
Initial value: auto
Inherited: No
Applies to: Block-level and replaced elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)
Note In Internet Explorer 6 and lower, several height-related bugs may occur. Among them: the box's
height may increase to valid overflow, the height may use the wrong parent block, and percentages may be
computed incorrectly.
min-height
Used to specify the minimum height of a “flexible” element (such as a box whose height has
been set with a percentage).
Value: <length> | <percentage>
Initial value: 0
Inherited: No
Applies to: All elements except nonreplaced inline elements and table elements
Supported by: Firefox, Safari, Opera
max-height
Used to specify the maximum height of a “flexible” element (such as a box whose height has
been set with a percentage).
Value: <length> | <percentage> | none
Initial value: none
Inherited: No
Applies to: All elements except nonreplaced inline elements and table elements
Supported by: Firefox, Safari, Opera
Search WWH ::




Custom Search