How to show “…” when there's not enough space to view all the text
How does jQueryMobile shows "..." when there's not enough space to view all the text?
Is it an CSS attribute?
There is a CSS attribute for this -- it is
However, there is one problem with it: it doesn't work in Firefox. It works in all other browsers, but not Firefox, not even FF4. I understand it's planned for FF5 or FF6.
See this post: text-overflow:ellipsis in Firefox 4? for a further discussion of this issue specific to Firefox.