title: How to float an image up to the image above
body: <p>how can I "float" these image boxes automatically up under the image above? It's based on Wordpress, selfmade theme.
  It's based on a responsive grid system.</p>
  
  <p>Now it looks like this:</p>
  
  <p>!now <a href="http://i.stack.imgur.com/JKlvp.png" rel="nofollow">1</a></p>
  
  <p>Should look like this:</p>
  
  <p>!after <a href="http://i.stack.imgur.com/90erd.png" rel="nofollow">2</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="section group"&gt;
  &lt;div class="col span_1_of_3"&gt;
  Div 1
  &lt;/div&gt;
  &lt;div class="col span_1_of_3"&gt;
  Div 1
  &lt;/div&gt;
  &lt;div class="col span_1_of_3"&gt;
  Div 1
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="section group"&gt;
  &lt;div class="col span_1_of_3"&gt;
  &lt;/div&gt;
  .....</code></pre>
  </div>
  </div>
  </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>.section {
      clear: both;
      padding: 0px;
      margin: 0px;
  }
  
  .group:before,
  .group:after {
      content: "";
      display: table;
  }
  
  .group:after {
      clear: both;
  }
  
  .col {
      display: block;
      float: left;
      margin: 1% 0 1% 1.6%;
  }
  
  .col:first-child {
      margin-left: 0;
  }
  
  @media only screen and (max-width: 480px) {
      .col {
          margin: 1% 0 1% 0%;
      }
  }
  
  .span_3_of_3 {
      width: 100%; 
  }
  
  .span_2_of_3 {
      width: 66.13%; 
  }
  
  .span_1_of_3 {
      width: 32.26%; 
  }
  
  @media only screen and (max-width: 480px) {
      .span_3_of_3 {
          width: 100%; 
      }
      .span_2_of_3 {
          width: 100%; 
      }
      .span_1_of_3 {
          width: 100%;
      }
  }</code></pre>
  </div>
  </div>
  </p>