I have a table where the cells\' width is in percentage and I want to use text-overflow: ellipsis to hide long lines of text:
text-overflow: ellipsis
http://jsfiddle.net/Fm5bM/
This is easily done by using table-layout: fixed, but "a little tricky" because not many people know about this CSS property.
table-layout: fixed
table { width: 100%; table-layout: fixed; }
See it in action at the updated fiddle here: http://jsfiddle.net/Fm5bM/4/