title: Cannot get 2 divs side by side inside another div
body: <p>I need your help,</p>
  
  <p>How can I get the other (red) div to line-up nicely to the right beside the blue div inside of the main div. I have attached a pic of the problem below:</p>
  
  <p><img src="https://i.stack.imgur.com/NpQrm.png" alt="enter image description here"></p>
  
  <p>Here is the code:</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>* {
    margin: 0;
    padding: 0;
  }
  html {
    background: rgb(132, 132, 132);
  }
  .centerObject {
    width: 800px;
    height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -400px;
    /* Half of Width */
    margin-top: -300px;
    /* Half of Height */
    background: rgb(212, 208, 200);
    border: 2px ridge rgb(75, 75, 75);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div class="centerObject"&gt;
      &lt;div id="a" style="width: 200px; height: 100%; border: 1px solid blue;"&gt;&lt;/div&gt;
      &lt;div id="b" style="width: 597px; height: 100%; border: 1px solid red; float: right;"&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>