1.首先把一些固定大小的列设置足够的固定宽度
2.预留一两个列不设置固定宽度
3.设置td th样式。
table td{word-break: keep-all;white-space:nowrap;}
table th{word-break: keep-all;white-space:nowrap;}
目前测试在IE、firefox、chrome均兼容
1.首先把一些固定大小的列设置足够的固定宽度
2.预留一两个列不设置固定宽度
3.设置td th样式。
table td{word-break: keep-all;white-space:nowrap;}
table th{word-break: keep-all;white-space:nowrap;}
目前测试在IE、firefox、chrome均兼容