title: Why isn't padding applied to table elements?
body: <p>This is more of a "tell me why it doesn't work" instead of "help me fix it" question. If I try to apply padding to a thead or tr element within a table, it doesn't work. The only way padding works is if I apply it directly to the th or td element. Why is this so? Is there an easy way to apply padding to the entire thead or tr or is adding it to the th and td the only option?</p>
  
  <pre><code>&lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Destination&lt;/th&gt;
              &lt;th&gt;Size&lt;/th&gt;
              &lt;th&gt;Home Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;test 1&lt;/td&gt;
              &lt;td&gt;test 2&lt;/td&gt;
              &lt;td&gt;test 3&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Notice the 10px of padding on the thead.</p>
  
  <pre><code>table {
      width: 100%;
  }
  
  thead {
      text-align: left;
      background-color: yellow;
      padding: 10px;
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/5VQB7/">http://jsfiddle.net/5VQB7/</a></p>