CSS width Property
The width property sets the width of an element.
Inherited: No
Example
Possible Values
Value |
Description |
auto |
The browser calculates the actual width |
% |
Defines the width in % of the parent element's width |
length |
Defines the width in px, cm, etc. |
|