I put a solid red border in the first td but I see that border olso on border-top of others td.
HTML -> a simple table with a head row with colspan 2 and a row in body with 2 columns:
<table class="table ">
<thead>
<tr>
<th class="pen-cell" colspan="2">HEAD</th>
</tr>
</thead>
<tbody>
<tr>
<td class="pen-cell current" id="pen-cell-1">1</td>
<td class="pen-cell" id="pen-cell-2">2</td>
</tr>
</tbody>
</table>
CSS -> color for head and body, red border for "current" cell:
table td.pen-cell {
background-color: #ead6a4;
border: 1px solid #e09c37;
}
.table thead th.pen-cell {
background-color: #e09c37;
background: linear-gradient(90deg, #e09c37 25%, #fff 85%);
border: 1px solid #e09c37;
}
td.current {
padding: 0rem;
border: 6px solid #ff0000 !important;
}
the problem is that the red border is present also on border-top of the second cell.
live version: https://codepen.io/Migio/pen/ExPoJwj