I have a table structured like this:
<table class="table table-hover table-bordered">
The table currently has borders on all four sides of each cell. I am looking to remove the left and right borders while keeping the top and bottom borders intact.
I attempted the following CSS code:
.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td{
border-right:none;
border-left: none;
border-bottom: 1px solid red;
}
Although the code successfully adds a red border at the bottom, it does not remove the left or right borders as intended. The CSS is being processed, but the desired effect is not achieved.
Any suggestions on how to solve this issue?