gpt4 book ai didi

html - 仅选定单元格的连续右边框

转载 作者:行者123 更新时间:2023-11-28 08:49:27 25 4
gpt4 key购买 nike

Related Question

上面的问题类似。但我想知道右边界是否可以连续?

如何让垂直线之间的间隙消失并使其看起来像一条连续线?另外,我必须使用内联 CSS 样式。也不能在 head 中使用外部 CSS 或样式标签。

最佳答案

你可以通过这样做来实现它

   table {
border: none;
border-collapse: collapse;
}

td {
border: none;
border-right: solid 1px #333;
padding: 10px;
}

tr td:last-of-type {
border: none;
}

enter image description here

Click to see working example

关于html - 仅选定单元格的连续右边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27430078/

25 4 0
文章推荐: css - 如何在
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com