title: Divs inside inline-block div does not fit parent size
body: <p>I am creating a input form and I have two child and 1 parent div:</p>
  
  <pre><code>&lt;div style="border: dashed; border-width: 1px; padding: 25px; display:inline-block; background-color:Aqua"&gt;
  &lt;div style="float: left; background-color:Orange"&gt;
  &lt;/div&gt;
  &lt;div class="expenseItems" style="background-color:green"&gt;
  &lt;div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want two child divs side by side and parent  covering his childs widths exactly thats why I used inline lock . <img src="https://i.stack.imgur.com/tBXtL.jpg" alt="Here"> is what i get until now</p>