Posted by Jukka K. Korpela on 11/21/06 07:36
Scripsit forex10@yahoo.com:
> But I cannot figure out how to center a
> sentance or title under a picture. Do I need to use <caption> within
> the <table> tag?
You don't need to, but it's one possibility. Another possibility is to wrap
the image and the caption text inside a <div> element, making the caption
text an inner <div>, and then you set text-align: center in CSS or
align="center" in HTML for either the outer <div> element or the inner one,
depending on how you want the picture to appear.
There are actually "too many" alternatives to choose from, see
http://www.cs.tut.fi/~jkorpela/www/captions.html
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|