<div style='width:500px'>
<ul>
<li> some one-line text here</li>
<li> some one-line text here</li>
<li> some two-line text here</li>
<li> some 2-line text here</li>
<li> 2 lines of text here</li>
</ul>
</div>
I am unsure about the correct css code for displaying items in Internet Explorer like this:
The first two results should automatically fit on the first line and the remaining results on the second line. Essentially, each li element should have its own width based on the size of the contents.
Thank you in advance!