
The Complete Idiot's Style Sheets Reference
| Index
| Current Category: Dimensions |
| Previous Style: max-height
| Next Style: min-height
|
max-width
Specifies the maximum width for a block element.
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
See Also:
-
min-width,
width
Possible Values:
- [length]
An absolute maximum width.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
- none
Doesn't set a maximum width.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
- [percentage]
The maximum width as a percentage of the current block width.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
Example:
<TABLE STYLE="max-width: 480px">
| Index
| Current Category: Dimensions |
| Previous Style: max-height
| Next Style: min-height
|
|