In my webpage I have a div with fixed width and using the following css:
width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
Of course it's possible. (If you're willing to change your markup a bit.)
https://jsfiddle.net/warphLcr/
stackoverflow is the best