asp.net.ph

Skip Navigation Links

overflow-y Attribute | overflowY Property

CSS Attributes Index   Positioning Properties


Sets or retrieves what should be done when the object’s content exceeds the height of the object.

Syntax


CSS { overflow-y: 'visible' | 'scroll' | 'hidden' | 'auto' }
Script object.style.overflowY = sOverflow ]

Possible Values


visible The content is not clipped.
scroll The content is clipped. Scroll bars are added even if the content does not exceed the dimensions of the objects.
hidden The content that exceeds the object’s dimensions is not shown.
auto The content is clipped and scrolling is added only when necessary.

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

Remarks

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

See Also

overflow, overflowX, position



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note