title: Align content of table cells differently
body: <p>I have a table in which a row's first cell (<code>td</code>) contains padding. Now the issue is with the second cell in that row, it somehow inherits the padding from the previous cell, which is not what I want</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{
    border:3px solid black;
  }
  .a&gt;span {
    display: block;
    padding: 20px;
  }
  
  .b {
    vertical-align: top;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td class="a"&gt;&lt;span&gt;Bar foo&lt;/span&gt;&lt;/td&gt;
      &lt;td class="b"&gt;Bar foo&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/ubLFZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ubLFZ.png" alt="enter image description here"></a></p>
  
  <p>So the question is: how can I align the text in the second cell to the top?</p>