title: inside div automatic fit width of li in ie
body: <pre><code>&lt;div style='width:500px'&gt;  
  &lt;ul&gt;  
    &lt;li&gt; some text in 1 line&lt;/li&gt;  
    &lt;li&gt; some text in 1 line&lt;/li&gt;  
    &lt;li&gt; some text 2 line&lt;/li&gt;  
    &lt;li&gt; some 2&lt;/li&gt;  
    &lt;li&gt; 2&lt;/li&gt;  
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I don't know what is the correct css code for display of items in ie like:</p>
  
  <p>first two results automatic fit in first line and rest of the results on second line.
   <strong>so basic idea is to let the li get it's own width depending on the data size.</strong>  </p>
  
  <p>Thanks in advance</p>