width
Definition
The width property specifies the width of the rectangle rendered for an element.
Example
div {width: 200px}
Characteristics
Possible values
- length
- Specific width.
- percentage
- Percentage of the containing parent element's width.
auto- The width depends on the values of other properties.
inherit- Use the same computed value as the parent element for this property.
Default value
auto
Applies to
Inherited
No
See also