title: display: inline-block and 100% height to achieve 'floating'
body: <p>I have a <code>&lt;ul&gt; &lt;li&gt;</code> and I require the use of <code>display: inline-block;</code>. This is required in order to "float" the li's whilst the last element is 100% wide of it's parent container and there could be any amount of li's (floating would mean the amount of li's is finite depending on the width of it's containing element). So the total width of the <code>&lt;ul&gt;</code> will be greater than the width of the viewport.</p>
  
  <p>This is fine except I require the "floated" elements to multiline and I expect all elements which are not multi lined to be 100% height of the <code>&lt;ul&gt;</code>.</p>
  
  <p>I can achieve what I want by setting the height of the <code>&lt;ul&gt;</code> in JS but this is something I really do not want to do.</p>
  
  <p>Here is a JS fiddle.
  <a href="http://jsfiddle.net/d5WBv/3/" rel="nofollow">http://jsfiddle.net/d5WBv/3/</a></p>
  
  <p>Does anyone have a solution. I'm not sure if flexbox or <code>display: table;</code> can solve this but I cannot seem to get it to....</p>
  
  <p>Thanks!</p>