title: Background minimizes when minimizing window
body: <p>I am new to HTML/CSS.</p>
  
  <p>I am building a simple webpage, but whenever I minimize the window, the background color minimizes with it. So when I scroll to the right, the background is blank.</p>
  
  <p>HTML:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>    #body{
       width:100%;
       overflow:scroll;
       /*overflow-x:scroll;*/
       /*position:relative;*/
      }
  
      .container {
       padding:20px 70px;
       width:1000px;
       position:absolute;
      }
  
      div.top {
       background-color: #6495ed;
       width:100%;
       height:400px;
       margin:0;
      }
  
      div.top_text {
       padding:25px;
       margin:35px;
       float:left;
       display:inline-block;
       width:550px;
      }
  
      div.top_form {
       border : 2px solid;
       border-radius:20px;
       padding:15px;
       /*float:left;*/
       display:inline-block;
       width:auto;
       background-color:#00edca;
      }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;body id="body"&gt;
    &lt;div class="top" align="center"&gt;
     &lt;div class="container" align="center"&gt;
    &lt;div class="top_text"&gt;
     &lt;p id="intro"&gt;The Best &lt;b&gt;Pest Control Services&lt;/b&gt;&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="top_form"&gt;
                  &lt;!--some content--&gt;
          &lt;/div&gt;
        &lt;/div&gt;
       &lt;/div&gt;
      &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thank you for your help!!</p>