gpt4 book ai didi

html - 边框顶部工作但不边框底部

转载 作者:技术小花猫 更新时间:2023-10-29 12:11:15 25 4
gpt4 key购买 nike

问题来了。我有我的代码,所以我应该在每个 <tr> 的顶部和底部看到一个边框。元素。但是,除了顶部元素之外,我只看到底部的内容。

.tstyle1 {
margin: 10px 0 0 30px;
width: 950px;
}

.tstyle1 tr {
height: 120px;
border-bottom: 1px solid black;
border-collapse: separate;
border-top: 1px solid black;
border-bottom: 1px solid orange;
}

.tstyle1 td {
border: none;
}

这是重现的问题。 http://jsfiddle.net/fL3rx/

最佳答案

尝试

添加 display: block; 到你的 .tstyle1 tr

关于html - <tr> 边框顶部工作但不边框底部,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14492318/

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