title: Resizing window creates margin next to a body tag
body: <p>I've stumbled upon a very annoying problem. When my project is viewed between 1920px and 1050px, everything is normal and the way I want it. <br>
  When I resize it below 1050px, some weird margin appears. <br>
  <a href="http://imgur.com/a/UFrz9" rel="nofollow">http://imgur.com/a/UFrz9</a> <br>
  EDIT: <a href="https://jsfiddle.net/5fj7336t/2/" rel="nofollow">https://jsfiddle.net/5fj7336t/2/</a> <br>
  I figured out that the <code>margin-left:60%;</code> is causing the issue.</p>
  
  <pre><code>.bannerOverlay {
        /*position*/
        position: absolute;
        width: 400px;
        top: 350px;
        margin-left: 60%;
        padding: 10px; /*Readable text*/
        color: white;
        background-color: rgba(31, 31, 31, 0.5);
        box-shadow: 0px 0px 20px black;
      }
  </code></pre>
  
  <ul>
  <li>The "margin" on the right, doesn't appear as margin in the inspect element tool.</li>
  <li>I'm using a browser reset template.</li>
  <li>Even when the body is 100% width, it still shows the margin.</li>
  <li>Using SASS to generate my CSS. (I doubt this causes any trouble)</li>
  </ul>
  
  <p>Below is my CSS code and HTML code. I hope someone could help me out to remove this margin.</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 {
    font-family: 'Lato', sans-serif;
    background-color: white;
    width: 100%;
  }
  header {
    position: fixed;
    z-index: 999; /*overlay ALL*/
    width: 100%;
    height: 100px;
    top: 0; /*Stay. Away.*/
    background-color: #1f1f1f;
  }
  header div {
    padding: 20px 0px 80px 0px;
    width: 800px;
    display: block;
    margin: 0 auto;
  }
  header h1 {
    display: block;
    float: left;
    color: #e7e5e5;
    font-size: 2.5em;
    font-weight: bold;
  }
  header h2 {
    display: block;
    color: #BFBFFF;
    font-size: 0.9em;
    position: absolute;
    margin-top: 40px;
    margin-left: 20px;
  }
  header nav {
    float: right;
  }
  header nav ul {
    padding-top: 42px;
  }
  header nav ul li {
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    margin-left: 5px;
  }
  header nav ul li a {
    text-decoration: none;
    color: #e7e5e5;
    opacity: 0.6;
  }
  header nav ul li a:hover {
    border-bottom: 5px solid #eeeeee;
    padding-bottom: 2px;
    opacity: 1;
    transition: opacity 0.25s ease-in;
    -moz-transition: opacity 0.25s ease-in;
    -webkit-transition: opacity 0.25s ease-in;
  }
  header nav ul li.current a {
    border-bottom: 5px solid;
    padding-bottom: 2px;
    opacity: 1;
  }
  .banner {
    top: 0;
    margin-top: 100px;
    height: 700px;
    width: 100%;
    position: fixed;
    background-image: url(../Images/banner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: -1;
  }
  .bannerOverlay {
    /*position*/
    position: absolute;
    width: 400px;
    top: 350px;
    margin-left: 60%;
    padding: 10px; /*Readable text*/
    color: white;
    background-color: rgba(31, 31, 31, 0.5);
    box-shadow: 0px 0px 20px black;
  }
  .bannerOverlay h2 {
    font-size: 3em;
    padding-bottom: 10px;
  }
  .bannerOverlay p {
    line-height: 1.2em;
  }
  .fadeFix {
    margin-top: 700px; /*banner size*/
    height: 100px; /*100px overlay*/
    background-color: white;
    z-index: 2;
    background: -moz-linear-gradient(bottom, white 0%, rgba(255, 255, 255, 0) 100%);/* FF3.6-15 */
    background: -webkit-linear-gradient(bottom, white 0%, rgba(255, 255, 255, 0) 100%);/* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 100%);/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  }
  .content {
    height: 500px; /*temp filler*/
    background-color: white;
    z-index: 2;
  }
  .content .whiteBoxContent .intelBox {
    width: 500px;
    margin: 0 auto;
  }
  .content .whiteBoxContent .intelBox h2 {
    font-size: 3em;
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
    text-align: center;
  }
  .content .whiteBoxContent .intelBox p {
    display: block;
    width: 500px;
    text-align: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;link href='https://fonts.googleapis.com/css?family=Lato:400,700,300' rel='stylesheet' type='text/css'&gt;
    &lt;link href="../CSS/browser_reset.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="../SO/css.css" rel="stylesheet" type="text/css" /&gt;
  
    &lt;title&gt;title&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;header&gt;
      &lt;div&gt;
        &lt;!-- divbox--&gt;
        &lt;h1&gt;title&lt;/h1&gt;
        &lt;h2&gt;sub&lt;/h2&gt;
        &lt;nav&gt;
          &lt;ul&gt;
            &lt;li class="current"&gt;
              &lt;a href="#"&gt;Home&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="#"&gt;n1&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="#"&gt;n2&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="#"&gt;n3&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="#"&gt;n4&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="#"&gt;n5&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="#"&gt;n6&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/nav&gt;
      &lt;/div&gt;
    &lt;/header&gt;
  
    &lt;section class="banner"&gt;
      &lt;!-- Fixed position --&gt;
    &lt;/section&gt;
    &lt;section class="fadeFix"&gt;
  
    &lt;/section&gt;
    &lt;section class="content"&gt;
      &lt;div class="bannerOverlay"&gt;
        &lt;h2&gt;title&lt;/h2&gt;
        &lt;p&gt;
          content
        &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="whiteBoxContent"&gt;
        &lt;div class="intelBox"&gt;
          &lt;h2&gt;title&lt;/h2&gt;
          &lt;p&gt;
            content
          &lt;/p&gt;
        &lt;/div&gt;
  
      &lt;/div&gt;
  
    &lt;/section&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>