Forum Moderators: open

Message Too Old, No Replies

Why is my <tfoot> content showing at the top

         

midi25

8:05 pm on Apr 1, 2004 (gmt 0)

10+ Year Member



Hi I am trying to use the <tfoot> tage and have made some simple code. Why is my text in the <tfoot> being displayed at the top though?

Thanks

<table>
<tr><td>Welocme</td></tr>
<tfoot align="center" valign="bottom">demo.co.uk</tfoot>
</table>

grahamstewart

8:27 pm on Apr 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The body of the table should appear in a tbody.
The tfoot should also use <tr> and <td> like a normal table row and tfoot should appear before tbody.

so...


<table>
<tfoot>
<tr><td>demo.co.uk</td></tr>
</tfoot>
<tbody>
<tr><td>Welcome</td></tr>
</tbody>
</table>

Should work.

See [w3.org...] for more info.