0 out of 2 rated this helpful - Rate this topic

-ms-overflow-y Attribute | overflowY Property

Gets or sets how to manage the content of the object when the content exceeds the height of the object.

Syntax

CSS { -ms-overflow-y : sOverflow }
Scripting [ sOverflow = ] object.style.overflowY

Possible Values

sOverflow String that specifies or receives one of the following values.
visible
Default. Content is not clipped and scroll bars are not added. Elements are clipped to the size of the containing window or frame.
scroll
Content is clipped and scroll bars are added, even if the content does not exceed the dimensions of the object.
hidden
Content that exceeds the dimensions of the object is not shown.
auto
Content is clipped and scrolling is added only when necessary.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of visible for all objects with the exception of TEXTAREA which has a default value of auto. The Cascading Style Sheets (CSS) attribute is not inherited.

DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are supported in IE7 Standards mode and IE5 (Quirks) mode only. For more information, see About Dynamic Properties and Defining Document Compatibility.

Remarks

Windows Internet Explorer 8. The -ms-overflow-y attribute is an extension to CSS, and can be used as a synonym for overflow-y in IE8 Standards mode.

With Microsoft Internet Explorer 6 and later, when you use the !DOCTYPE declaration to specify standards-compliant mode, this property applies to the html object.

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 3 (CSS3).

Applies To

A, ABBR, ACRONYM, ADDRESS, APPLET, B, BDO, BIG, BLOCKQUOTE, BODY, CENTER, CITE, CODE, CSSStyleDeclaration, currentStyle, CUSTOM, DD, defaults, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, hn, HTML, I, IFRAME, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LABEL, LEGEND, LI, LISTING, MENU, OL, P, PLAINTEXT, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TEXTAREA, TT, U, UL, VAR, XMP, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor

See Also

CSS Enhancements in Internet Explorer 6, overflow, overflowX, position
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ