摘要:
1、给<table>加上style="table-layout:fixed"; 2、给<td>加上style="width:100px;text-overflow:ellipsis; word-break:keep-all; overflow:hidden;" js生成TABLE cell的时候,cell里文字过多的时候似乎以上方法也不太好用。可以直接这样: cell.in... 阅读全文
摘要:
1、给<table>加上style="table-layout:fixed"; 2、给<td>加上style="width:100px;text-overflow:ellipsis; word-break:keep-all; overflow:hidden;" js生成TABLE cell的时候,cell里文字过多的时候似乎以上方法也不太好用。可以直接这样: cell.in... 阅读全文
|