overflow

Specifies how to handle content overflow of an element if the content does not fit within the predefined boundaries of the element.

Platform Support

IENetscapeMozillaOperaSafari
5.0-6.07.0+4.0+1.0+4.0+1.3.2+
  • IE: Support for overflow is almost complete for IE 5-6
  • Safari: Support for overflow is not dynamic.

Values

inheritInherit the value from the parent element.
visibleContent is rendered outside of the element.
hiddenContent is clipped at the boundaries of the element.
scrollDisplay scroll bars to access overflow content.
autoOverflow behavior to be determined by the window or user settings.

Example

For a demonstration of the overflow attribute, see the demo page on quirksmode:

http://www.quirksmode.org/css/overflow.html

Availability

W3C CSS2

Related

text_css aptana_docs