Description

Sets the width of an element.

Example

 div{
  width:100px; 
  border:solid black 1px;
}

Values
lenght and percentage values or auto
Default value
auto
Introduced in CSS version
1
Inherited
No
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions51160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties