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/
Written by Razvan Stan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Related Tags
#css
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#