scrollWidthscrollWidth*
*Contents  *Index  *Topic Contents
*Previous Topic: scrollTop
*Next Topic: search

scrollWidth

Description

Returns the element's scrolling width, in pixels. This is the distance between the left and right edges of the element's visible content.

Syntax

object.scrollWidth

Settings

This read-only property is always a nonnegative integer.

Remarks

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

BODY, BUTTON, DIV, FIELDSET, FRAME, IFRAME, IMG, MARQUEE, SPAN, TEXTAREA

See Also

scrollHeight, scrollLeft, scrollTop, width


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