title: Trying to center align a header image in CSS
body: <p>I am trying to make the banner image central on all sized screens...it looks fine on smaller screens but larger screens, it is pulling to the left.</p>
  
  <p>Here's what I tried so far:</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>.banner {
      padding-top: 150px;
      margin: 0 auto;
      background-position: center;
      background-size: cover;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="banner"&gt;
    &lt;div class="row"&gt;
        &lt;img src="Banner3.jpg" class="img-responsive"/&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thanks!</p>