RetroZilla/layout/html/tests/table/bugs/bug19061-1.html

51 lines
1.1 KiB
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<title> Test of Table Problems </title>
</head>
<body>
<h3>Thead/Tfoot/Tbody </h3>
<pre><font size="-1">
<b>thead</b> Row 1;
background-color: cyan; text-align: center;<br />
<b>tbody</b> Rows 2,3,4;
background-color: #9999ff; text-align: right;<br />
<b>tfoot</b> Rows 5, 6;
background-color: #ff99ff; text-align: center;
</font></pre>
<table border="1" width="100%" cellpadding="5" cellspacing="4">
<thead style="background-color: cyan">
<tr>
<td> R1C1 </td> <td> R1C2 </td>
<td> R1C3 </td> <td rowspan="2"> R1-2C4 </td> <td> R1C5 </td>
</tr>
</thead>
<tbody style="background-color: #9999ff">
<tr>
<td> R2C1 </td> <td>R2C3 </td> <td>R2C3 </td>
<td> R2C5 </td>
</tr>
<tr>
<td> R3C1 </td> <td>R3C2</td> <td colspan="3">R3C3-5 </td>
</tr>
<tr>
<td colspan="3"> R4C1-3 </td> <td rowspan="3" >R4-6C4 </td>
<td>R4C5</td>
</tr>
</tbody>
<tfoot style="background-color: #ff99ff">
<tr>
<td> R5C1 </td> <td>R5C2 </td> <td rowspan="2">R5-6C3</td>
<td>R5C5</td>
</tr>
<tr>
<td> R6C1 </td> <td> R6C2 </td>
<td>R6C5</td>
</tr>
</tfoot>
</table>