CSS Property: text-overflow
[this page | pdf | back links]
The CSS (CSS3) text-overflow property indicates how
text that has overflowed is rendered by the browser.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
clip
|
(default value). Text
is clipped without further action
|
|
ellipsis
|
Clipped text is
rendered by an ellipsis, i.e. “…”
|
|
string
|
Clipped text is
rendered by the given string
|
|
Default Value:
|
clip
|
|
JavaScript syntax:
|
e.g. object.style.textOverflow="ellipsis"
|
|
Inherited:
|
No
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties