This topic has not yet been rated - Rate this topic

width property

[This documentation is preliminary and is subject to change.]

Gets the width of the rectangle that surrounds the object content.

Internet Explorer 9

Syntax

JavaScript

p = object.width

Property values

Type: Floating-point

The width of the rectangle, in pixels.

Standards information

Remarks

The width of the rectangle can also be calculated by subtracting the value of the left property from the value of the right property.

See also

TextRectangle
height

 

 

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ