<html>
<head>
<style>table, td {border:1px solid red; border-spacing: 0px;} table {width: 100%;} td {height: 50px; padding: 5px;}</style>
</head>
<body>
<input type="button" onclick="javascript:document.body.innerHTML = document.getElementById('tid').innerHTML; window.print();" value="print" />
<p>Table without cellspacing:</p>
<div id="tid">
<table>
  <tr>
    <td>Month</td>
    <td>Savings</td>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
</table>
</div>

<p>Table with cellspacing:</p>
<table border="1" cellspacing="0">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
</table>

<p><b>Note:</b> The cellspacing attribute is not supported in HTML5.</p>

</body>
</html>
