css3 - CSS Trim Table Content -


i looking way use css trim long content table cell. example. given cell contains content way long. width of table adjusted fit long content. however, since table consumes 100% width, lot of table spills out side of window fit content.

so, question is, there way can use css (preferably < css3 better ie compatibility) show text in table cell cell's width, hide overflow out pushing out width of table?

this supported in browsers apart firefox (i think). elipsis produces ... @ truncated text , clip clips text...

td { text-overflow:ellipsis; /* or text-overflow: clip;*/ }


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -