Overflow

The   property is used in CSS and certain HTML elements. It specifies whether to clip content, render scroll bars or display overflow content of a block-level element.

Values

 * - Default value. 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.


 * Mozilla CSS Extensions
 * - (Obsolete) Use  instead.
 * - (Deprecated) Use of  or   is preferred.
 * - (Deprecated) Use of  or   is preferred.
 * - Intended for internal use and by themes. Disables scrolling of XML root elements which use arrow keys and the mouse wheel.

HTML example:

TEXT TEXT TEXT TEXT TEXT TEXT

That generates:

TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT

CSS example:

div { overflow:scroll; width:100px; }