snippet

o-text-overflow: ellipsis;          text-overflow:

Ellipsis When Text Too Long To Fit No Firefox support, but Opera, Webkit, and IE7+ h3 { width: 300px; overflow: hidden; white-space: nowrap; -o-text-overflow: ellipsis; text-overflow: ellipsis;} 出典:http://css-tricks.com/ o-text-overflow…