over 10 years ago
Hi , If anybody needs to truncate the text without any server side script then it is possible using css3. We just need to add following css to container of text:
text-overflow:ellipsis; overflow: hidden; width: 200px white-space: nowrap;
Even we don't need to put length of text for truncating, it will automatically add ellipsis at the end.
Thanks.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)