Possible Duplicate:
Overflow:hidden dots at the end
I'm coding a simple chat webapp, and I want to truncate the name of each participant. For instance, instead of:
Miguel de Unamuno: 03:14
Homo sum, nihil homini alienum puto
I want:
Miguel de U...: 03:14
Homo sum, nihil homini alienum puto
I see I could do this with JS, but seems like it should be quite a common thing, so I'm sure there is a simple way to do this with HTML+CSS I am not being able to find. Is it?
Thanks!