width

Previous- border  |  Next-height

Description

Each block-level or replaced element can be given a width, specified as a length, a percentage, or as auto. A replaced element is one for which only the intrinsic dimensions are known.

HTML replaced elements include IMG, INPUT, TEXTAREA, SELECT, and OBJECT.


Initial Value : auto

Applies to : block-level and replaced elements

Inherited : no

Possible Values
<length> | <percentage> | auto | inherit

Example(s)
p { width: 100px }

Previous- border  |  Next-height