title: How to set a div width with border in fix width div
body: <p>How can i set a div <code>width</code> with <code>border:2px solid</code> the border comes out from parent div</p>
  
  <p><strong>Note :- I want to fix in IE also.</strong></p>
  
  <p>posting an example to better understating.</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>.box {
    width: 300px;
    border: 1px solid;
    padding: 10px 0;
  }
  
  .one {
    width: 100%;
    background: tomato;
    height: 40px;
  }
  
  .two {
    width: 100%;
    border: 2px solid;
    height: 40px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="box"&gt;
    &lt;div class="one"&gt;&lt;/div&gt;
    &lt;div class="two"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>