css - Show "..." in HTML table content when the content is too big for its size -


i have given html table row space of 200px. text of more space can inserted it. want row display "..." @ end of row if content more space.

use

width: 200px; overflow: hidden; text-overflow: ellipsis; 

in css have overflowing text replaced ....

but doesn't work td elements, you'll have add element in between, example div.

see demonstration.


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -