[thelist] captions for photos
Karen J. Bowen
karen at miinx.com.au
Sun Apr 21 23:46:00 CDT 2002
John Corry wrote:
> I may be overlooking something really simple, but...
>
> How do you put a caption under a photo, within a <p>?
>
You could try maybe nesting a <span>...
something like:
<div class='pic'>
<img src='yourimage.gif'>
<span class='caption'>your caption</span>
</div>
and give styles:
.pic {width:<<image width>>; text-align:center;}
.caption {margin:0px auto;}
(not tested, just an idea..)
Cheers,
Karen
------------
Miinx Design & Development
e :: karen at miinx.com.au
p :: 03 9534 2659
w :: www.miinx.com.au
More information about the thelist
mailing list