title: Making a div fill a table cell in HTML5
body: <p>I've got a div inside an HTML table cell, but I can't get it to fill the whole cell.</p>
  
  <pre><code>&lt;body style="background-color: ButtonFace;"&gt;
          &lt;form id="form1" runat="server"&gt;
              &lt;table border="1" style="border-collapse:collapse; border-color:Red;"&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;div style="border:solid 1px green;background-color: Yellow;"&gt;
                              test
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  </code></pre>
  
  <p>It has a gap, where the (grey) background shows through.</p>
  
  <p><img src="https://i.stack.imgur.com/QJ0PL.png" alt="enter image description here"></p>
  
  <p>I'm sure it must be really easy to remove it, but I just can't figure out how.</p>