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

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

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -