width attribute | width property
Gets or sets the width of the object.
This property is read/write.
![]() ![]() |
Syntax
| HTML | |
|---|---|
| JavaScript | |
Property values
Type: Variant
| Type | Condition |
|---|---|
|
A width in pixels. |
|
A String as described in the String Format section. |
String format
pixels | percentage% | relative*
Standards information
Show:

