Aptana Studio ƒwƒ‹ƒv > Reference > CSS > CSS Properties

width

Specifies the width (in pixels, points, or as a percentage) of the content of the element.

Platform Support

IE Netscape Mozilla Opera Safari
4.0+ 4.0+ 1.0+ 4.0+ 1.0+

Usage

Example values: 100px, 50%, etc.

Values

* Specify a value for width that is not on this list.
inherit Inherit the value from the parent element.
auto Width to be determined by the window or parent element.

Example

For additional information and a demonstration of the width attribute, see the demo page on quirksmode:

http://www.quirksmode.org/css/columns.html#width

Remarks

width does not include the margins, padding, or borders of an element.

Availability

W3C CSS2

Related

text_css aptana_docs