Click to return to the DHTML, HTML     
overflow Attribute | over...     overflow-y Attribute | ov...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

overflow-x Attribute | overflowX Property


Sets or retrieves how to manage the content of the object when the content exceeds the width of the object.

Syntax

HTML{ overflow-x: sOverflow }
Scriptingobject.style.overflowX [ = sOverflow ]

Possible Values

sOverflow String that specifies one of the following values:
visibleContent is not clipped, and scroll bars are not added. Elements are clipped to the size of the containing window or frame.
scrollContent is clipped, and scroll bars are added even if the content does not exceed the dimensions of the object.
hiddenContent that exceeds the dimensions of the object is not shown.
autoContent is clipped, and scrolling is added only when necessary.

The property is read/write with a default value of visible; the proposed cascading style sheets (CSS) extension attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.

Remarks

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

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
A, ACRONYM, ADDRESS, APPLET, B, BDO, BIG, BLOCKQUOTE, BODY, CENTER, CITE, CODE, currentStyle, custom, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, Hn, I, IFRAME, INS, KBD, LABEL, LEGEND, LI, LISTING, MENU, OL, P, PLAINTEXT, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TEXTAREA, TT, U, UL, VAR, XMP

See Also

overflow, overflowY, position



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.