You'll have to use the float CSS property... Try this:
Code:
<img src="http://devcentral.f5.com/weblogs/images/comment-icon.gif" style="float:left">
<div style="font:10pt Arial;padding:5px;background-color:#ccc; float:right"><span style="float:right">No. 1</span><span style="font-weight:bold;padding-right:10px">John Doe</span><span style="color:#808080">11/14/2010 3:23:44</span></div>
And you can wrap all that in another Div to keep the width manageable...
Code:
<div style="width:650px">
<img src="http://devcentral.f5.com/weblogs/images/comment-icon.gif" style="float:left">
<div style="font:10pt Arial;padding:5px;background-color:#ccc; float:right"><span style="float:right">No. 1</span><span style="font-weight:bold;padding-right:10px">John Doe</span><span style="color:#808080">11/14/2010 3:23:44</span></div>
</div>
Hope that helps...
- Alex
Bookmarks