1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 //EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <STYLE TYPE=
"text/css">
6 .a-div {width:
50%;position:relative; text-align:right; background-color:red;margin:
0px;}
10 <DIV>Buggy example: This table has a tfoot and a tbody
</DIV>
11 <TABLE border
class=
"w1 fs-11-13">
12 <TFOOT><TR style=
"background-color:olive"><TD align=
"right">This is the footer
</TD></TR></TFOOT>
13 <TBODY><TR style=
"background-color:silver" valign=
"top"><TD><DIV class=
"a-div">This row should be in the (grey) table body
</DIV></TD></TR></TBODY>
15 <DIV>For comparison: The same table without a tfoot
</DIV>
16 <TABLE border
class=
"w1 fs-11-13">
17 <!--<TFOOT><TR style="background-color:olive"><TD align="right">This is the footer</TD></TR></TFOOT> -->
18 <TBODY><TR style=
"background-color:silver" valign=
"top"><TD><DIV class=
"a-div">This row should be in the (grey) table body
</DIV></TD></TR></TBODY>
20 <DIV>ILLEGAL example: TFOOT after TBODY -- THIS IS PROHIBITED BY HTML
4.01 STRICT AND SHOULD NOT WORK IN STRICT MODE. Please fix or reenable transitional mode.
</DIV>
21 <TABLE border
class=
"w1 fs-11-13">
22 <TBODY><TR style=
"background-color:silver" valign=
"top"><TD><DIV class=
"a-div">This row should be in the (grey) table body
</DIV></TD></TR></TBODY>
23 <TFOOT><TR style=
"background-color:olive"><TD align=
"right">This is the footer
</TD></TR></TFOOT>