HTML th或td之间如何消除空隙?
<table>
<tr id='showycxx'>
<th style='background-color:red;' height='10px' title='异常("+rowObject.ycs+")' width='"+(wid1)+"'></th>
<th style='background-color:green;' title='正常流程"+rowObject.zcs+"个,占比为"+wid2+"%' width='"+(wid2)+"'></th>
<th style='background-color:#cccccc;' title='未流转"+rowObject.wcls+"个,占比为"+wid3+"%' width='"+(wid3)+"'></th>
</tr>
</table>
去掉之间的间隔空隙,在<table align='center' style="border-collapse:collapse;"></table> 可以去掉td之间的间隔。
显示效果