Last Updated: February 25, 2016
·
20.13K
· razvanstan

Truncate one line text and add dots from css

Truncate one line text at fixed width and add '...'

width: 100px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;

You can check here: http://jsfiddle.net/tV5eJ/1/