title: I need help adding text on top of an image
body: <p>Why is this code not centering my text in the image? I have been working on this for a while, and this is about to drive me crazy. Something so simple is giving trouble.</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-txt {
      position: absolute;
      left: 0;
      top: 50%;
      width: 100%;
      text-align: center;
      font-size: 5em;
  }
  
  .header-wrapper {
      postion: relative;
  }
  
  .header-img {
      width: 100%;
      height: auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="header-wrapper"&gt;
      &lt;img class="header-img" src="http://science-all.com/images/wallpapers/website-background-images/website-background-images-20.png" alt="macbook"&gt;      
      &lt;div class="header-txt"&gt;Hello&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>