CSS Attributes Index Positioning Properties
Sets or retrieves what should be done when the object’s content exceeds the height of the object.
CSS |
{ overflow-y: 'visible' | 'scroll' | 'hidden' | 'auto' } |
Script |
object.style.overflowY = sOverflow ] |
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.
For the TEXTAREA object, only the hidden value is valid. Setting the property to hidden on a TEXTAREA object hides its scroll bars.
overflow, overflowX, position