gpt4 book ai didi

css - 在具有多个 tbody 的表中如何在 tbody 元素之间创建一些空间

转载 作者:行者123 更新时间:2023-11-28 09:24:40 28 4
gpt4 key购买 nike

我试图在包含多个 tbody 元素的表的 tbody 部分之间创建一些空间,即间隙,但没有取得任何成功。怎么做到的?

        <table>
<thead></thead>


<tbody>
.
.
.
</tbody>

// create a gap here

<tbody>
.
.
.
</tbody>



<tfoot></tfoot>
</table>

最佳答案

尝试一些CSS

table tbody {
padding-bottom: 10px;
}

或者可能是this answer会帮助你

关于css - 在具有多个 tbody 的表中如何在 tbody 元素之间创建一些空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25940779/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com