The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Dimensions |
| Previous Style: marks | Next Style: max-width |


max-height

Specifies the maximum height for a block element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

See Also:

height, min-height

Possible Values:

[length]
An absolute maximum height.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

none
Doesn't set a maximum height

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

[percentage]
The maximum height as a percentage of the current block height.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

Example:
<TABLE STYLE="max-height: 640px">

| Index | Current Category: Dimensions |
| Previous Style: marks | Next Style: max-width |