Overflow-y

The   property is used in CSS and certain HTML elements. It specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the top and bottom edges.

Values

 * - Content is not clipped, and may be rendered outside the content box.
 * - The content is clipped and no scrollbars are provided.
 * - The content is clipped and desktop browsers use scrollbars, whether or not any content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. Printers may print overflowing content.
 * - Depends on the user agent. Desktop browsers provide scrollbars if content overflows.

HTML example:

TEXT TEXT TEXT TEXT

CSS example:

div { height:100px; overflow-y:scroll; }