title: Center child divs inside parent div
body: <p>I have a parent div that must stay at 100% with 3 child divs inside.  I need to center the 3 child divs, but don't know how.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.parent {
      width: 100%;    
      border: 1px solid blue;
  }
      
  .child {
      float: left;    
      border: 1px solid red;
      margin: 2px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="parent"&gt;
      &lt;div class="child"&gt;child1&lt;/div&gt;
      &lt;div class="child"&gt;child2 - center us child divs! :)&lt;/div&gt;
      &lt;div class="child"&gt;child3&lt;/div&gt;
      &lt;div style="clear: both"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Here is a JSFIddle:</p>
  <p><a href="http://jsfiddle.net/qdHH3/2/" rel="noreferrer">http://jsfiddle.net/qdHH3/2/</a></p>