title: Div background color overlaps other div, but content doesn't
body: <p>I've never seen this before</p>
  
  <p>I'm working on a basic blog website now I have created the page and I'm adding a DIV container to use for a newsletter subscription. What I found out though is that when I check my code everything is where it is supposed to be except my newsletter div (.newsletter-container) for some odd reason the div itself places itself above another div but when I type in text then the text comes below that div. I'm quite confused by it and don't really know how to explain it.</p>
  
  <p>I'd say take a look at it yourself in the appended codepen to understand what I mean. The yellowish color is my actual div and as you can see next to pagenation it shows the content of that div. But both the background-color and the content has to be placed below the pagenation</p>
  
  <p>Thanks in advance and please tell me what I did wrong as I haven't build a website in a while.</p>
  
  <p>My code: <a href="https://codepen.io/tom-truyen/pen/qBEyQoq" rel="nofollow noreferrer">codepen</a></p>
  
  <p>Code of the newsletter:</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>.newsletter-container {
    position: relative;
    background-color: rgba(252, 250, 238, 1);
    /* padding: 50px 0px; */
    height: 200px;
    color: black;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="newsletter-container"&gt;CONTENT OF NEWSLETTER&lt;/div&gt;
  
      </code></pre>
  </div>
  </div>
  </p>