In article <3f*********************@news.wanadoo.nl> in
comp.infosystems.
www.authoring.html, Woolly Mittens wrote:
"Darin McGrew" <mc****@stanfordalumni.org> wrote in message
news:bs**********@blue.rahul.net... Woolly Mittens <wm******@hotmailz.com> wrote:
The TFOOT element needs to come before the TBODY element. Tables should
contain, in the following order:
Thanks, but isn't it odd to put the footer before the body?
Wouldn't that mess up the reading order in text-browsers?
Yes, and maybe.
My Netscape 4 displays the <tfoot> before the body, but MSIE 4
displays the foot after the body. Netscape 6 displays the <tfoot> at
the end of the table.
Here's the test HTML I used:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head><title>TFOOT test</title></head>
<body>
<table border=2>
<thead><tr><th>col head 1</th><th>col head 2</th></tr></thead>
<tfoot><tr><td colspan=2>This table contains no useful content
whatever. The present note is inside a <tfoot>
tag.</td></tr></tfoot>
<tr><td>cell 11</td><td>cell 12</td></tr>
<tr><td>cell 21</td><td>cell 22</td></tr>
<tr><td>cell 31</td><td>cell 32</td></tr>
<tr><td>cell 41</td><td>cell 42</td></tr>
</table>
</body>
</html>
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec:
http://www.w3.org/TR/html401/
validator:
http://validator.w3.org/
CSS 2 spec:
http://www.w3.org/TR/REC-CSS2/
2.1 changes:
http://www.w3.org/TR/CSS21/changes.html
validator:
http://jigsaw.w3.org/css-validator/