Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

width attribute | width property

Sets or retrieves the width of the object.

Syntax

HTML<element width="p" ... >
JavaScript

p = object.width

 

Property values

Type: Variant

width

Integer that specifies the width of the object in pixels.

percentage

String that specifies an integer value followed by a %. The value is a percentage of the width of the parent object.

Standards information

See also

col
colGroup
embed
frame
iframe
object
table

 

 

Show:
© 2015 Microsoft