text-overflow | NN n/a IE 6(Win) CSS n/a |
Inherited: No | |
Controls whether text content that overflows a fixed box space should display an ellipsis ( . . . ) at the end of the line to indicate more text is available. The element should also have its overflow style attribute set to hidden. |
|
CSS Syntax | |
text-overflow: overflowType
|
|
Value | |
One of two constants: clip | ellipsis. |
|
Initial Value | |
clip |
|
Example | |
td {overflow:hidden; white-space:nowrap; text-overflow:ellipsis} |
|
Applies To | |
Block-level elements. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.textOverflow
|