title: Expand a div to fill the remaining width
body: <p>I want a two-column div layout, where each one can have variable width e.g.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>div {
    float: left;
  }
  
  .second {
    background: #ccc;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;Tree&lt;/div&gt;
  &lt;div class="second"&gt;View&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want the 'view' div to expand to the whole width available after 'tree' div has filled needed space.</p>
  
  <p>Currently, my 'view' div is resized to content it contains
  It will also be good if both divs take up the whole height.</p>
  
  <hr>
  
  <p><strong>Not duplicate disclaimer:</strong></p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/1017880/expand-div-to-max-width-when-floatleft-is-set">Expand div to max width when float:left is set</a>
  because there the left one has a fixed width.</li>
  <li><a href="https://stackoverflow.com/questions/727012/help-with-div-make-div-fit-the-remaining-width">Help with div - make div fit the remaining width</a>
  because I need two columns both aligned to left</li>
  </ul>