title: How can I do space-around for divs within a div without using flex
body: <p>I have a <code>div</code> with 3 <code>divs</code>. The inner <code>divs</code> are squares. I want to do what the <code>justify-content:space-around</code> does without using flex. Also, if I want to use <code>space-around</code> how do I reduce the margin between the elements. I feel they are too far away from each other.</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>.squareContainer{
    overflow: hidden;
    width:1200px;
    background-color:black;
  }
  
  .sqC{
    width: 300px;
    height: 300px;
    background-color: #7F5F01;
    color: white;
    text-align: center;
    margin: 5px;
  }
  
  .floatClass{
    float: left;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="squareContainer"&gt;
     &lt;div class="floatClass sqC"&gt;
        &lt;h2&gt;SQUARE&lt;/h2&gt;
     &lt;/div&gt;
     &lt;div class="floatClass sqC"&gt;
         &lt;h2&gt;SQUARE&lt;/h2&gt;
     &lt;/div&gt;
     &lt;div class="floatClass sqC"&gt;
          &lt;h2&gt;SQUARE&lt;/h2&gt;
     &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>