title: position absolute left:50% does not position span in the middle
body: <p>I have a wrap div and inside I have a <code>&lt;span&gt;</code> position absolute to the wrap as it is an icon from Icomoon and I need to be part of the background. And then, at the same level that the <code>&lt;span&gt;</code>, another div, and inside this I have a <code>&lt;h1&gt;</code>, a <code>&lt;p&gt;</code>, an <code>&lt;input&gt;</code> and a <code>&lt;span&gt;</code>.</p>
  
  <p>I have positioned the <code>&lt;span&gt;</code> absolute to the wrap (which it has position relative), but although I want to put it in the middle, it just needs left:26%, which is not 50% at all! So the problem becomes when I resize the screen, that it doesn't stay in the middle of the wrap. </p>
  
  <p>I was wondering, why can it be caused? I posted another post a while ago because I wanted to include this problem in a JSFiddle but I couldn't work out how to include the fonts files in the JSFiddle so the icons don't appear there. </p>
  
  <p>Does anyone has a slight idea about what can I do to fix it?</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>.containerOfSites {
    display: block;
    height: auto;
    float: none !important;
    margin: 0 auto;
  }
  
  .wrapPortalItem {
    padding: 0;
  }
  
  .insideWrapItem {
    text-align: center;
    border: 3px solid black;
    padding: 15px;
    position: relative;
  }
  
  .portalItem {
    background-color: rgba(255, 255, 255, 0.75);
    padding-top: 3%;
    padding-bottom: 10%;
    font-family: 'Open Sans', sans-serif;
    position: relative;
  }
  
  .portalItem p {
    margin-bottom: 40%;
    font-size: 30px;
    padding: 5px;
  }
  
  .portalItem p&gt;span {
    font-weight: 900;
  }
  
  .portalItem span.viewMorePs {
    text-decoration: none;
    font-size: 18px !important;
    z-index: 999;
  }
  
  .portalItem h1 {
    color: #B5D803;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #fff;
  }
  
  .insideWrapItem span[class^="iconI-"] {
    position: absolute;
    color: white;
    bottom: 12%;
    left: 26%;     /* &lt;- */
    font-size: 14em !important;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="portalPage" class="col-md-24"&gt;
    &lt;div class="containerOfSites col-md-18 col-sm-24"&gt;
      &lt;div class="wrapPortalItem col-md-8"&gt;
        &lt;div class="insideWrapItem"&gt;
          &lt;span class="iconI-iconDA_automotive img-responsive"&gt;&lt;/span&gt;
          &lt;div class="portalItem portA "&gt;
            &lt;h1&gt;AUTOMOTIVE&lt;/h1&gt;
            &lt;p&gt;web sites&lt;br /&gt; for the&lt;br /&gt; &lt;span&gt; automotive&lt;br /&gt; &lt;/span&gt; market&lt;/p&gt;
            &lt;a href="http://motors06.denison-automotive.co.uk/denison/"&gt;&lt;span class="viewMorePsGreen"&gt;GO&lt;/span&gt;&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="wrapPortalItem col-md-8"&gt;
        &lt;div class="insideWrapItem"&gt;
          &lt;span class="iconI-iconDA_web"&gt;&lt;/span&gt;
          &lt;div class="portalItem"&gt;
            &lt;h1&gt;DESIGN&lt;/h1&gt;
            &lt;p&gt;web sites&lt;br /&gt; for the small &amp;&lt;br /&gt; large business&lt;br /&gt; for&lt;span&gt; all sectors&lt;/span&gt;&lt;/p&gt;
            &lt;a href="http://motors06.denison-automotive.co.uk/denison/denison-2/web-sites/"&gt;&lt;span class="viewMorePsGreen"&gt;GO&lt;/span&gt;&lt;/a&gt;
  
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="wrapPortalItem col-md-8"&gt;
        &lt;div class="insideWrapItem"&gt;
          &lt;span class="iconI-iconDA_yourbrand"&gt;&lt;/span&gt;
          &lt;div class="portalItem"&gt;
            &lt;h1&gt;BRANDING&lt;/h1&gt;
            &lt;p&gt;&lt;span&gt;branding&lt;br /&gt; &lt;/span&gt; and&lt;br /&gt; design&lt;/p&gt;
  
            &lt;a href="http://motors06.denison-automotive.co.uk/denison/denison-2/branding/"&gt;&lt;span class="viewMorePsGreen"&gt;GO&lt;/span&gt;&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="clearfix"&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>