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

Google sheets equipment borrowing system -

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

c# - Convert type 'System.Collections.Generic.List<string>' to 'System.Collections.Generic.IList<>' -