title: DIVs and CSS layout not lining up, but why?
body: <p>I'm trying to layout a screen using <code>div</code>'s and CSS. It's a simple layout at this point but I can't seem to get the <code>div</code>'s to line up. I want one wrapper <code>div</code> with two <code>div</code>'s within it: one aligned to the left and one aligned to the right. However, they end up on top of each other.</p>
  
  <p>I know this question is simple. What am I missing here?</p>
  
  <p>If I reduce the width of the right <code>div</code> to <code>60%</code> it lines up right but shouldn't I be able to use <code>100%</code> of the width of the parent <code>div</code>?</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>#product_wrapper {
    display: inline-block;
    height: 75%;
    width: 75%;
    background-color: white;
    text-align: top;
    margin: 0 auto;
  }
  #images_wrapper {
    background-color: red;
    display: inline-block;
    height: 100%;
    width: 30%;
    margin: 0;
    padding: 0;
  }
  #content_wrapper {
    background-color: blue;
    display: inline-block;
    height: 100%;
    width: 70%;
    margin: 0;
    padding: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="product_wrapper"&gt;
    &lt;div id="images_wrapper"&gt;Foo&lt;/div&gt;
    &lt;div id="content_wrapper"&gt;Bar&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>