html:css
添加css样式:html
此时的效果:c#
单元格之间存在间距,不怎么好看ide
更好的解决方法:htm
使用以下代码:it
table { border-collapse: collapse; } table tr td, table tr th { border: solid 1px red; }
此时的效果:table
此时相邻单元格边框没有重合叠加class