我只想在表格标题下方有一条蓝色实线,现在每列之间几乎没有白色分隔,因为样式在每个 th
上。
thead th {
border-bottom: 4px solid #D3E6F5;
padding-bottom: 20px;
}
这是我的 JSFiddle .
最佳答案
将 cellspacing = "0"
html 属性或 CSS 属性 border-spacing: 0
添加到您的 table
元素。
关于html - thead 边框底部,删除列之间的空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24145397/