title: Make div height 100% in a table cell
body: <p>How can I make div inside a cell table 100% height when the row is stretched by word wrapping in another cell.</p>
  
  <p>In this <a href="http://jsfiddle.net/3v4wz030/8/" rel="noreferrer">Fiddle</a> I want to have the div in the second cell to fill the whole cell (100% of height).</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: 1px solid red;
    width: 50%;
    background-color: yellow;
  }
  td div {
    background-color: green;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;div&gt;
          abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde
        &lt;/div&gt;
      &lt;/td&gt;
      &lt;td&gt;
        &lt;div&gt;
          xxx
        &lt;/div&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>