Reputation: 10570
This is the jsfiddle
it is very simple:
I want to put a border on the table tr so I tried this:
.table tr{
height: 30px;
border-bottom: 10px solid #000000;
}
The height
property is applied but the border is not.
why please? and how to fix it.
Many thanks
Upvotes: 0
Views: 728
Reputation: 13988
Add display:block
to your tr style.
.table tr{
display:block;
height: 30px;
border-bottom: 10px solid #000000;
}
Upvotes: 3
Reputation: 516
you can define a tr class css like this
<tr class="border_bottom">
and in your css you can do this
tr.border_bottom td {
border-bottom:1pt solid black;
}
tried in your code and works..good luck!!
Upvotes: 2