You probably have some CSS error, here is an example: FIDDLE
<table> <tr> <th class="invalid">Text</th> <th>Text</th> <th>Text</th> <th>Text</th> <th>Text</th> </tr> <tr> <td class="invalid">Text</td> <td>Text</td> <td>Text</td> <td>Text</td> <td>Text</td> </tr> </table>
table, th, td { border: 1px solid #666; border-collapse: collapse; } th.invalid, td.invalid { border: 1px double #b8202a; }
but if you need one pixel frame, perhaps you should use
th.invalid, td.invalid { border: 1px solid #b8202a; }
source share