Given the markup below, I can make the image float to the left of the li container and the text aligns to the top with the following css:
#menuFooterRecent .attachment-post-thumbnail {float:left;}
However, this aligns the image left of ALL li elements. I want to make this behave as if it were in a table row so that adjacent sibling li elements act as if they are in a separate TR element and will fall below the floated image.
I’ve discovered that I can do this by adding display:table-row to the li elements like so:
#menuFooterRecent li {display:table-row;}
I’m just not sure about browser support for this property.
<div id="menuFooterRecent">
<ul style="clear:left;margin:20px 0 0 0; padding:0; list-style-type:none;">
<i>Related Articles Heading</i>
<li><img width="160" height="159" src="41iXqpFZbuL._SL160_.jpg" class="attachment-post-thumbnail wp-post-image" alt="41iXqpFZbuL._SL160_" title="41iXqpFZbuL._SL160_" /><a href="avett-brothers/">The Avett Brothers New Album Review</a>: <i>This is the post excerpt for the post....</i></li>
<li><a href="my-test-post/">My Test Post</a></li>
<li><a href="my-latest-post/">My Latest Post Test</a>: <i>This is the excerpt text for the post....</i></li>
<li><a href="chinese-herbal-tea/">Chinese Herbal Tea</a>: <i>also known as medicinal herbal tea, Chinese Herbal tea is a kind of tea soup made from purely Chinese medicinal herbs in...</i></li>
<li><a href="all-about-chai-tea/">All about Chai Tea</a>: <i>Chai, pronounced with a long "i" as in the word tie, is the actual word for tea in many countries....</i></li>
</ul>
</div>