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

sql - VB.NET Operand type clash: date is incompatible with int error -

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

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -