title: Display Inline-Block with Widths as Percent
body: <p>I'm trying to put 2 sections beside each other using <code>inline-block</code> and widths as a percentage, but it's not filling up the entire width of my window.</p>
  
  <p>What I have so far:</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;section class="left-content"&gt;
      "Some Code"
  &lt;/section&gt;
  &lt;section class="main-content"&gt;
      "Some More Code"
  &lt;/section&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>.left-content, .right-content { 
      width: 15%; 
      min-width: 150px; 
      padding: 5px; 
      display: inline-block; 
      overflow: hidden; 
      vertical-align: top; 
  }
  .main-content { 
      width: 85%; 
      min-width: 712px; 
      padding: 10px; 
      display: inline-block; 
      overflow: hidden; 
      vertical-align: top; 
  }
  </code></pre>
  
  <p>But unless I work out the exact percentage down to a decimal point on my screen it doesn't work. Does anyone know of a way to do this using <code>inline-block</code> or do I have to use <code>float</code>?</p>