bootstrap ellipsis的使用
当表格的内容过多的时候,需要把过长的内容用省略号代替;只要table加上style样式,td的style加上样式。
<TABLE style="table-layout:fixed" class="table table-condensed table-bordered table-hover table-striped">
<td style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">2223333333333333333333333</td>
最终效果如下图所示: