Width

The   property is used in CSS and certain HTML elements. It specifies the width of the content area of an element. The content area is inside the,  , and   of the element.

Values

 * - A length value. Ex.,  ,  , etc.
 * - Specified as a  of containing block's width.
 * - The browser will calculate and select a width for the specified element.

Mozilla Extensions

 * - The intrinsic preferred width.
 * - The intrinsic minimum width.
 * - The containing block width minus horizontal margin, border and padding.
 * - The larger of:
 * The intrinsic minimum width
 * The smaller of the intrinsic preferred width and the available width

Example:
Here is some example code for  in HTML:

HTML
WIDTH

Results in... WIDTH

CSS
h1 { background:white; color:black; width:20px; }