width | WebReference

width

Name: width

Description: Specifies the content width of block-level boxes.

Browser Compatibility: IE 4+ / NN 4+ / O 3.5+

Inherited: No

Values:

Code Example:

p {width: 150px;}

Comments: Padding, borders and margins are added to the outside of the content width.