width attribute | width property

all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

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
iframe
object
table

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.