I'm trying to create a instruction list using ordered lists (ol). Inside I want the text for the instruction to be floated left and the image showing the step floated right.
I've tried wrapping the content inside the list item (li) like so:
<ol>
<li><p style="float:left">Follow these instructions</p><img style="float:right" src="[***]" alt="" /></li>
</ol>
That just sends the image outside the li element. I've tried adding a clearing div after the two floated elements inside the li, I've tried adding a clear hack to the li element itself. I've also tried nesting the p and img elements inside floated divs.
Is this even possible? Would like to use this manner, but will generate some other solution if not.