html - Overflow:hidden dots at the end -


Say I have a string "I like big bum and I can not lie" and I overflow it It tries to show something like this:

"I like big bum and I like cans"

Cutting the text is it possible to show it like this:

P>

"I like big bum and I like cans ..."

Using CSS?

You can use which is supported by all major browsers.

Here's on JSBN.

Oval will appear in IE but not Mozilla. You will still get similar effects where the text is called "cut off" instead of "l office".


Comments