I need help with a strange issue I'm facing. I have a table where border-collapse is set to collapse, and there's an unusual gap between the box-shadow inset and the border. The size of this gap increases as the border width gets larger. How can I fix this issue? This problem occurs specifically on Chrome.
HTML:
<table class="theTable">
<tr>
<td class="weirdGap">
unexpected space
<br>
unexpected space
</td>
</tr>
</table>
CSS:
.theTable {
border-collapse: collapse;
}
.weirdGap {
box-shadow: inset 0 0 6px red;
border: 5px solid blue;
}
View the jsFiddle example here