title: Padding in div container HTML/CSS
body: <p>I´m trying to make the image below to fit the whole div, meaning that the background image should take the whole space and I shouldn't see the green color. Unfortunately I can´t find a way to do 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>#imagecontainer {
    background: url("http://3.bp.blogspot.com/_EqZzf-l7OCg/TNmdtcyGBZI/AAAAAAAAAD8/KD5Y23c24go/s1600/homer-simpson-1280x1024.jpg") no-repeat;
    border: 1px solid;
    background-size: cover;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/&gt;
  
  
  &lt;div class="container no-padding" id="maincontent" tabindex="-1"&gt;
    &lt;div id="imagecontainer" class="row"&gt;
      &lt;div class="col-lg-12"&gt;
        &lt;img class="img-responsive" src="img/profile.png" alt=""&gt;
        &lt;div class="intro-text"&gt;
          &lt;h1 class="name"&gt;Start Bootstrap&lt;/h1&gt;
          &lt;h1 class="name"&gt;Start Bootstrap&lt;/h1&gt;
          &lt;h1 class="name"&gt;Start Bootstrap&lt;/h1&gt;
          &lt;hr class="star-light"&gt;
          &lt;span class="skills"&gt;Web Developer - Graphic Artist - User Experience Designer&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/VqAEd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VqAEd.png" alt="enter image description here"></a></p>
  
  <p>Many thanks!</p>