title: CSS position relative and element height
body: <p>I have one element below another and I am using position relative to drag the bottom element up just a bit so that it overlays the top element.</p>
  
  <p>The paperOverlay element is the last element on the page, vertically speaking, and I want it to extend to the bottom of the browser window. However, the relative nudging of the element's position leaves an equal amount of whitespace at the bottom. Is there any way to avoid this?</p>
  
  <p>The HTML looks like:</p>
  
  <pre><code>div class="container"&gt;
      &lt;div class="homePage"&gt;
          &lt;!-- some content --&gt;
      &lt;/div&gt;
      &lt;div class="paperOverlay" style="position: relative; top: -70px;"&gt;
          &lt;!-- some more content --&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And the CSS looks like:</p>
  
  <pre><code>div.container 
  { 
      width: 960px;
      margin: 0 auto;
  }
  
  div.homePage 
  { 
      width: 800px;
      height: 500px;
  }
  
  div.paperOverlay
  {
      width: 960px;
      min-height: 400px;
      background: url('Images/Overlay.png') no-repeat top center;
  }
  </code></pre>
  
  <p>Basically, the bottom layer is a white background with a torn paper edge effect at the top. The goal is to have the torn paper edge slightly overlay the bottom of the element above it. I did try <code>margin-top: -70px</code> as suggested below and it fixed the height, but now the elements in the top element lay on top of the overlay, and I want the overlay to be on top.</p>