title: How to control position overlap on other elements?
body: <p>I don't know how to control a <code>position:relative</code> element to push down the element below it. At the moment, it's overlay on top of the element below.</p>
  
  <p>Please have a look at my <a href="https://jsfiddle.net/fkaufusi/ayjxb6ec/18/" rel="nofollow noreferrer"><strong>JSfiddle implementation</strong></a> </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>#header {
    position: relative;
    background-image: url("https://www.planetware.com/photos-large/USHI/hawaii-honolulu-beaches-oahu-kailua-beach.jpg");
    background-repeat: no-repeat;
    height: 200px;
  }
  
  #container {
    width: 300px;
    border: 2px solid red;
    background-color: #ccc;
    height: 100px;
    position: relative;
    top: 130px;
    margin-left: auto;
    margin-right: auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="body"&gt;
    &lt;div id="header"&gt;
      &lt;div id="container"&gt;
        Overlap box - How can this box push down the text below, without overlap on top?
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div&gt;
      &lt;p&gt;
        Rest of the body content here. Rest of the body content here. Rest of the body content here
      &lt;/p&gt;
      &lt;p&gt;
        Rest of the body content here. Rest of the body content here. Rest of the body content here.
      &lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>