Trying to add borders around specific table rows that change colors when the mouse hovers over them. However, borders are not visible unless using border-collapse:collapse;
. I need to avoid border-collapse because it causes issues with visibility at the top of the row due to padding/margin constraints.
Is there a solution to achieve this?
<table style="border-collapse:collapse;">
<tr style="border:1px solid black">
<td>Cell_1</td>
<td>Cell_2</td>
</tr>
</table>