- I was trying to set border for td. However, the border size looks disimilar. How to apply similar border size to all td sections?*
You can see the image reference here:
Here is my Css part:
.table td{
border: 1px solid green !important;
}
.table{
border-collapse:collapse !important;
}
1条答案
按热度按时间cngwdvgl1#
尝试使用Bootstrap中的
.table-bordered
类,而不是在CSS中设置手动边框。您也可以使用.border-success
来设置绿色。Tables · Bootstrap v5.0