4

I have used a jquery plugin for getting ellipsis in mozilla but I want to know other methods to get the ellipsis because the plugin I have used showing script error in some cases. /******edited**********/ I have used the plugin

jquery.text-overflow.js

And the script error ask to disable script in the page

Poornima
  • 203
  • 1
  • 7
  • 14

1 Answers1

7

Firefox / Mozilla does not currently support text-overflow:ellipsis;

There is a work-around - see this question on SO for a detailed answer: how to obtain Text-overflow : ellipsis type style (...) in mozilla

[EDIT]

Since people are still up-voting this old answer, I'm adding this note to point out that this feature was added in Firefox 7, so is now irrelevant for most users. There are still a few FF3.6 users out there that this will apply to, but for most of us, it's no longer an issue.

Community
  • 1
  • 1
Spudley
  • 166,037
  • 39
  • 233
  • 307
  • @Poornima - just so you know, Firefox v4 will still not support ellipsis, but also the work around no longer works. No solution yet, but still looking (see my question here for more info: http://stackoverflow.com/questions/4927257/text-overflowellipsis-in-firefox-4) – Spudley Feb 19 '11 at 14:22
  • `text-overflow:ellipsis;` just made it into Aurora, meaning it should be in Firefox by Firefox 7! http://hacks.mozilla.org/2011/07/aurora7/ – Tyler Jul 07 '11 at 21:10