via: css-tricks
.truncate {
width: 250px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
This site shows you how to get it working in FF as well: http://mattsnider.com/css-string-truncation-with-ellipsis
A bunch of more techniques here, including multi-line ellipsis.