title: 3 columns layout using float, the element of the third column are over the middle column
body: <p>I have a layout with 3 columns. </p>
  
  <p>The columns are done using floats. I want the first column to be aligned left, the middle colum (button) to be aligned, in the center and the last column to align to the right.</p>
  
  <p>I don't use flexbox, because I need to support older IE(9).</p>
  
  <p>The problem, that I have is the last column is over the middle column.</p>
  
  <p>The input in the third column, I want to have a 'flexible' width.</p>
  
  <p>One smaller screen I want the middle column to be hidden.</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>.container {
  margin: 1.5rem 0 0;
  }
  
  .l-left {
  
      float: left;
      width: 55%;
  
  }
  .l-middle {
  
      float: left;
      width: 10%;
  
  }
  .l-right {
  
      float: right;
      width: 35%;
  
  }
  
  .clearfix::after {
      content: "";
      clear: both;
      display: table;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet"/&gt;
  
  &lt;div class="container clearfix"&gt;
    &lt;div class="l-left"&gt;
      &lt;ul class="list-inline"&gt;
          &lt;li class="list-inline-item"&gt;lorem ipsum&lt;/li&gt;
          &lt;li class="list-inline-item"&gt;lorem ipsum&lt;/li&gt;
          &lt;li class="list-inline-item"&gt;lorem ipsum&lt;/li&gt;
          &lt;li class="list-inline-item"&gt;lorem ipsum&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div class="l-middle"&gt;
      &lt;a class="btn btn-primary btn-lg btn-block"&gt;Add container Free&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="l-right"&gt;
      &lt;form action="/contact" method="post" &gt;
        &lt;input class="input" type="text" name="email"&gt;
      &lt;/form&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>