overflowoverflow*
*Contents  *Index  *Topic Contents
*Previous Topic: outerText
*Next Topic: owningElement

overflow

Description

Sets or retrieves what should be done when the element's content exceeds the height and/or width of the element.

Syntax

object.style.overflow[ = overflow]

Remarks

This property applies to positioned elements. By default, overflowing content is visible. This means the element does not observe its specified height and width. If the attribute is set to scroll, the content is clipped to the height and width specified on the element, and the overflowing content is accessible through scroll bars. If the attribute is set to hidden, the content of the element is clipped to the height and width of the element, and no scroll bars appear to access the hidden content.

For the TEXTAREA element, only the hidden value is valid. Setting the overflow to hidden on a TEXTAREA element hides its scroll bars.

The scripting property has read/write permission.

Applies To

HTML Tags DIV, FIELDSET, SPAN, TEXTAREA
Scripting style

CSS Attribute

overflow


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