所以我希望表格只在每行下方有边框。
td{
border-bottom-style: solid;}
但是,在列之间,有可见的边界中断。我不明白如何删除它?
所以我希望表格只在每行下方有边框。
td{
border-bottom-style: solid;}
但是,在列之间,有可见的边界中断。我不明白如何删除它?
table {
border-collapse: collapse;
}
一种可能性是使用
table {
border-collapse:collapse;
}
或者,如果这不是一个选项(它可能会导致比在早期版本的 IE 中解决的问题更多的问题),您可以按照以下方式继续...
table {
border-spacing:0;
}
任你选!
在 CSS 中使用边框折叠。
table {
border-collapse: collapse;
}
试试下面:
table {
border-collapse: collapse;
}