clientWidthclientWidth*
*Contents  *Index  *Topic Contents
*Previous Topic: clientTop
*Next Topic: clientX

clientWidth

Description

Returns the width of the element, in pixels. This width does not take into account any margin, border, scroll bar, or padding that might have been applied to the element.

Syntax

object.clientWidth

Remarks

This property has read-only permission, meaning you can retrieve its current value, but not change it.

For more information on how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.

Applies To

APPLET, BODY, BUTTON, CAPTION, DIV, EMBED, FIELDSET, IMG, INPUT, LEGEND, MARQUEE, OBJECT, SPAN, TABLE, TD, TEXTAREA, TR


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.