CSS property: width
Property values
Value |
Description |
|---|---|
length |
This value specifies the distance as an absolute value. The value can be an integer with the unit of measurement. For example, “10pt” or “6px”. Negative values are permitted. Possible units include pt, px, in, cm, pc, em, or ex. |
percentage |
This value specifies the element width as a percentage of the width of the containing element. |
auto |
This value specifies that the BlackBerry® Browser determines the width of the element. |
inherit |
This value specifies that the element inherits the width property value from the containing element. |
Parent topic: CSS Properties