Ruby on Rails
JavaScript, XHTML, CSS
Java, Distributed Systems
<you_name_it>
truncate
Ellipsis or "truncate with dots" via JavaScript
Submitted by Steffen on Sat, 08/11/2007 - 06:52Internet Explorer comes with a nice CSS feature for truncating text by appending three little dots: text-overflow:ellipsis. Here's a screen shot:

Unfortunately text-overflow:ellipsis is no standard and not supported by Firefox, Opera, etc. With some JavaScript hacking however you can have something similar to IE ellipsis on all browsers. It even degrades gracefully if JavaScript is disabled.
