PDA

View Full Version : 2 captions in 1 table



zoobie
09-30-2002, 05:54 AM
I'm using:

<table width=90%>
<caption>HOWDY!</caption>
<tr>
<td>data</td>
</tr>
<caption align="bottom">BYE BYE</caption>
</table>

and it works fine...Problem is, only 1 caption is recommended per table. Isn't there a 'title' attribute or some other way?

Thanks :p

umm
09-30-2002, 08:22 AM
you could just define a class for a paragraph in another tr.

<table width="90%">
<caption>Howdy</caption>
<tr>
<td>data</td>
</tr>
<tr>
<td><p style="text-align:center">BYE BYE</td>
</tr>
</table>

You'd have to muck around to get rid of the border though and if you used more than one td per row, you would have to use the colspan attribute.