HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties


Defines the maximum width a region may expand to if it is relatively sized. Useful to constrain large regions of text from having overly long lines, which can result in readability problems. Measurements are generally in fixed values although relative units such as percentages may be used.


#div1 {width: 50%; max-width: 800px;}

Browser and CSS Support Notes

No IE support
Nav 6, 7
Opera 7

(X)HTML Elements
CSS Properties
Back: max-height Next: min-height
< Home | About | Chapters | Examples | Errata | Reference | Site Map >