title: Float table elements using only html/css
body: <p>I'm trying to write a responsive email template at present so am restricted to using html tables and inline css (without the assistance of javascript or media queries) in order to support as many email clients as possible.</p>
  
  <p>Specifically I'd like to float some elements (either entire tables or internal columns) so that they fill the width available evenly but also drop to the next to the line when the width available isn't large enough to accommodate all text.</p>
  
  <p>This is my first attempt which spaces the elements evenly within the width available: <a href="http://jsfiddle.net/aerospatiale/noy7ur7a/" rel="nofollow">http://jsfiddle.net/aerospatiale/noy7ur7a/</a>.</p>
  
  <pre><code>table { 
      width: 100%;
      max-width: 600px;
      background-color: #eeeeee;
      text-align: justify; 
  }
  table:after {
      display: inline-block !important;
  }
  table th { 
      vertical-align:top; 
      text-align: center;
      font-weight:normal; 
  }
  
  &lt;table align="center"&gt;
      &lt;tr&gt;
          &lt;th&gt;One&lt;/th&gt;
          &lt;th&gt;Two&lt;/th&gt;
          &lt;th&gt;Three&lt;/th&gt;
          &lt;th&gt;Four&lt;/th&gt;
          &lt;th&gt;Five&lt;/th&gt;
          &lt;th&gt;Six&lt;/th&gt;
          &lt;th&gt;Seven&lt;/th&gt;
          &lt;th&gt;Eight&lt;/th&gt;
          &lt;th&gt;Nine&lt;/th&gt;
          &lt;th&gt;Ten&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>This is my second attempt which allows the elements to drop to the next line when necessary but does not evenly distribute the elements within the full width available: <a href="http://jsfiddle.net/5qsjn2ys/" rel="nofollow">http://jsfiddle.net/5qsjn2ys/</a>.</p>
  
  <pre><code>table { 
      width: 100%;
      max-width: 600px;
      background-color: #eeeeee;
      text-align: justify; 
  }
  table th { 
      display: inline-block !important;
      vertical-align:top; 
      text-align: center;
      font-weight:normal; 
  }
  
  &lt;table align="center"&gt;
      &lt;tr&gt;
          &lt;th&gt;One&lt;/th&gt;
          &lt;th&gt;Two&lt;/th&gt;
          &lt;th&gt;Three&lt;/th&gt;
          &lt;th&gt;Four&lt;/th&gt;
          &lt;th&gt;Five&lt;/th&gt;
          &lt;th&gt;Six&lt;/th&gt;
          &lt;th&gt;Seven&lt;/th&gt;
          &lt;th&gt;Eight&lt;/th&gt;
          &lt;th&gt;Nine&lt;/th&gt;
          &lt;th&gt;Ten&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Is it possible to combine both these effects to distribute the elements evenly but also allow them to drop to the next line when the available width is not sufficient?</p>
  
  <p>Note: I realise it's a little unorthodox to use th elements, however it's to combat an Android quirk.</p>