Description

Text-overflow effects inline content when it overflows it's block container. Overflow can only occur if the block container has an overflow value of something other then visible and when white-space is set to no-wrap.

ellipsis: Renders an ellipsis character (U+2026) or three dots "..." to represent clipped inline content.

clip: Clips inline content that overflows, any extra characters will not be visible. Characters may be only partially rendered.

<string>: replaces the overflowing content with the <string>

Most browsers support clip and ellipsis, newer values of <string> and two value for left and right are not well supported and could be removed from the spec.

http://www.w3.org/TR/2012/WD-css3-ui-20120117/#atrisk

Live Example
Play with the code in the textarea below.

Values
( clip | ellipsis | <string> ){1,2} | inherit
Default value
clip
Introduced in CSS version
2.1
Applies to elements
block containers where overflow value is other then visible
Inherited
No
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions675114
Belongs to:

See the full list CSS properties and browser support: CSS Properties