title: CSS - fixed height on tr and fixed height on table?
body: <p>I need to have table that has rows with fixed height and that table itself must be of fixed height.
  For example all rows would be of 8px height and table would be of height 400px. If there would be less rows than total height of table, then remaining part of the table should be like a gap.</p>
  
  <p>But css automatically readjusts row height if I set fixed height on table.</p>
  
  <p>I need table to look like this:</p>
  
  <pre><code>|row  |cont  |
  |row  |cont  |
  |row  |cont  |
  |            |
  |            |
  |            |
  |End of table|
  </code></pre>
  
  <p>I tried this:</p>
  
  <p>CSS:</p>
  
  <pre><code>.t-table {
    border: 1px solid black;
    height: 400px;
    border-collapse: collapse;
  }
  td {
    border: 1px solid black;
  }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;table class="t-table"&gt;
  &lt;tr style="line-height: 8px"&gt;
    &lt;td&gt;A&lt;/td&gt;
    &lt;td&gt;B&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr style="line-height: 8px"&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td&gt;2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Or you can check it here: <a href="https://jsfiddle.net/utrwqfux/" rel="noreferrer">https://jsfiddle.net/utrwqfux/</a></p>
  
  <p><strong>P.S.</strong> So if I force height on table it will ignore height on rows. Last tr was without height, so the idea was for it to re-size automatically filling empty gap.</p>