title: Spacing between columns in a table
body: <p>I have a big problem with the spacing of columns in a table.
  Here's what I'd like to get, spacing only between <code>&lt;td&gt;</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/1vZzV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1vZzV.png" alt="enter image description here"></a></p>
  
  <p>Not working with <code>margin</code>, <code>padding</code>  or <code>border</code>:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>td {
    padding-left: 7.5px;
    padding-right: 7.5px;
  }
  
  td:first-child {
    padding-left: 0;
  }
  
  td:last-child {
    padding-right: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;td&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.imgur.com/OVtjnu1.png" rel="noreferrer"><img src="https://i.imgur.com/OVtjnu1.png" alt="enter image description here"></a></p>
  
  <p>Not working with <code>border-spacing</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/gOv3P.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gOv3P.png" alt="enter image description here"></a></p>
  
  <p>And if use <code>first-child</code> and <code>last-child</code>, same problem as previous image.</p>
  
  <p>Solution I found, but really dirty:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.spacer {
    width: 15px;
    height: 15px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;td&gt;&lt;/td&gt;
  &lt;div id="spacer"&gt;&lt;/div&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;div id="spacer"&gt;&lt;/div&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;div id="spacer"&gt;&lt;/div&gt;
  &lt;td&gt;&lt;/td&gt;</code></pre>
  </div>
  </div>
  </p>