I need to show the ellipses(…) if the text overflows in DIVs and SPANs.
I have a CSS attribute called text-overflow:ellipses. But this works only in IE.
I want to display the same in other browsers like Firefox/Chrome etc..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This article (http://mattlaine.com/blog/?p=49) explains how to do it for Firefox.
There is also a jQuery plugin that will add the ellipses for Firefox.
text-overflow: ellipsisworks on a few other browsers, like Safari. Opera uses-o-text-overflow.