G'day again

so the perfect one would look like this markup
<p class="lfigure"><img />Caption</p>
CSS
.lfigure{
float:left;
text-align:center; /*to center description*/
}
.lfigure img{
display:block;
}

Nothing is perfect in this world :-) You'll need to give the float a width but other than that it looks about right to me.

You might also want to add margin-right to .lfigure so text that wraps around the float has a little "breathing space".

Regards
--
Bert Doorn, Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to