title: CSS Table is larger than specified
body: <p>I'm writing some code to generate a "full screen" page with a header.  I'm using a table to do layout, with CSS specifying the dimensions and formatting.</p>
  
  <p>The table has a height and width of 100% to cause it to fill the window/viewport, which at first works as intended.  The table has two rows with one cell each.  The first row's cell has a height of 20px, while the other row's cell has a height of 100% to allow it to fill the remaining space of the window.  Inside the bottom cell is an iFrame, set to 100%x100% to fill the cell.  The iFrame works as intended, however the table is not following its settings.</p>
  
  <p>When the page is rendered in IE, which is specifically my target browser, the table is being stretched outside the range of the viewport.  Specifically, the table is adding 20px to its dimensions.  Even when I set the table to a fixed height, it's still adding 20px to the dimensions I'm setting.  I'd expect the code to force the table to 100% height, have a top cell of 20px, and the bottom cell specifically take up the remaining available space of the table's height, without stretching the table.  This works perfectly in Chrome, but IE keeps making the table's height 100%+20px, even with a CSS rule setting it to strictly 100% height.</p>
  
  <p>Below is a simplified version of my code:</p>
  
  <pre><code>    &lt;table style=" height:100%; width: 100%;"&gt;&lt;tr&gt;&lt;td style="height: 20px;"&gt;
      {content header here}
      &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="height: 100%;"&gt;
      {iframe with dimensions 100% x 100% here}
      &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
  </code></pre>
  
  <p>The result in Chrome displays perfectly.  In IE, the containing table ends up 20px too tall and runs outside the viewport, causing the bottom 20px of the iframe to be outside the viewport.</p>