title: How can I fill the space between a left and right float without making the right float wrap?
body: <p>What I want to achieve is for all the elements to be on the same line, but have the <code>text-overflow</code> kick in if the paragraph in the middle is wider than the available space, but if not, then the right float should still be in the same line.</p>
  
  <p>Codepen: <a href="http://codepen.io/anon/pen/hHvCA" rel="nofollow">http://codepen.io/anon/pen/hHvCA</a></p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;div id="outer"&gt;
    &lt;div id="left"&gt;&lt;/div&gt;
    &lt;div id="middle"&gt;
      &lt;p&gt;Can this paragraph fill the space between the left and right floats without making the right float wrap?&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="right"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>CSS:</strong></p>
  
  <pre><code>#outer {
    background-color: #222;
    height: 100px;
    width: 100%;
  }
  
  #left {
    background-color: #555;
    width: 100px;
    height: 100px;
    float: left;
  }
  
  #right {
    background-color: #777;
    width: 200px;
    height: 100px;
    float: right;
  }
  
  #middle {
     background-color: #999;
     height: 100px;
  }
  
  #middle &gt; p {
     line-height: 100px;
     color: #eee;
     text-overflow: ellipsis;
     white-space: nowrap;
     overflow: hidden;
     font-family: monospace;
  }
  </code></pre>