[thelist] captions for photos

John Corry webshot at members.evolt.org
Fri Apr 19 18:15:00 CDT 2002


I may be overlooking something really simple, but...

How do you put a caption under a photo, within a <p>?

I can't figure out a way to do it, and am having to put everything in a
table to make it work right.

<table>
	<tr>
		<td><p>text here</p></td>
		<td><img tag><br>caption</td>
	</tr>
</table>

That sucks! I don't need the paragraphs and images in a table and the only
reason I'm doing it that way is to make the caption render underneath the
photo, not inline with the rest of the <p>.

I really, really want clean, well formed documents and to only use tables
for displaying tabular data. So, how can I reproduce this layout without
relying on tables?

thanks,
John




More information about the thelist mailing list