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
Post a Comment