<style type="text/css">
#table_bdr {border-collapse:collapse;}
tr.border {border: 2px solid red;}
</style>
...
<table id="table_bdr">
 <tr>
  <td>Data1</td>
  <td>Data2</td>
  <td>Data3</td>
  <td>Data4</td>
 </tr>
</table>