In mozilla, text-overflow:ellipsis not working
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 e开发者_JAVA百科rror ask to disable script in the page
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.
精彩评论