I am using ellipsis concept to truncate a long text in my HTML. I have successfully managed to truncate the sentence but the "..." wont appear in my HTML. I use the following for the css
The output appears to be fine.. i.e., for test test test test test test test test test the out put is test test test when i actually want it as test test test...
<div style="text-align:left; line-height: 20px; white-space: nowrap;
overflow: hidden; text-overflow: ellipsis; width: 99%;
display : block;">