--------
'''Float right - with caption''' - notice the second span tag and that the width on the caption is set 2px smaller than the image width:
<nowiki><span class="inline right"><img src="/files/images/James_O_Keefe_on_Fox.png" width="188" height="133" align="right" alt="James O'Keefe on Fox News" /><span class="caption" style="width: 186px;"><i>James O'Keefe on Fox News</i></span></span></nowiki>
--------
'''Float left - with caption'''