title: Dynamic div height - other dynamic div height
body: <p>So I'm trying to create a box which is the same height as the entire page, (live height) - another dynamic div named <code>#wrapping</code>, so I have this piece of code which offsets it instead of removing the height of the div...</p>
  
  <pre><code>function jsUpdateSize() {
    var viewPortHeight = $(window).height();
    $('#box').height(viewPortHeight - $('#wrapping').offset().top);
  }
  window.onload = jsUpdateSize; // When the page first loads
  window.onresize = jsUpdateSize;
  </code></pre>
  
  <p>So I want it to take away <code>#wrapping</code>'s height from it's own, sorry if this a really easy question :)</p>