HBCMS更多的中文手册参考:

overflow-y Attribute | overflowY参数属性

DHTML文档教程

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

What's New for Microsoft® Internet Explorer 6

When you use the !DOCTYPE declaration to specify standards-compliant mode, this property applies to the html object.

dhtml语法

HTML { overflow-y : sOverflow }
Scriptingobject.style.overflowY [ = sOverflow ]

DHTML可能的值

sOverflowString that specifies or receives one of the following values.
visibleDefault. Content 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 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.

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

remarks

  with internet explorer 6 and later, when you use the !doctype declaration to specify standards-compliant mode, this property applies to the html object.

是否符合公共标准

This property is part of a proposed addition to Cascading Style Sheets (CSS) Non-Microsoft link.

Applies To

A, ACRONYM, ADDRESS, APPLET, B, BDO, BIG, BLOCKQUOTE, BODY, CENTER, CITE, CODE, 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

更多语法参考

css enhancements in internet explorer 6, overflow, overflowx, position