Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service and PSD to HTML by W3 Markup. see your link here

max-width

Definition

The max-width property specifies the maximum width of the element.

Example

  1. div {max-width: 500px}

Characteristics

Possible values

length
Specific width.
percentage
Percentage of the parent element's width.
none
No width limit.
inherit
Use the same computed value as the parent element for this property.

Default value

none

Applies to

All elements except img, tbody, thead and tfoot.

Inherited

No

See also