scrollHeightscrollHeight*
*Contents  *Index  *Topic Contents
*Previous Topic: scrollDelay
*Next Topic: scrolling

scrollHeight

Description

Returns the element's scrolling height, in pixels. This is the distance between the top and bottom edges of the element's visible content. The physical height of the content, including the nonvisible content, can be obtained with the offsetHeight property.

Syntax

object.scrollHeight

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.

Setting

This read-only property is always a nonnegative integer.

Applies To

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

See Also

scrollLeft, scrollTop, scrollWidth


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