ROWSPAN
by Florence W Deems |
This table has 3 rows, one red, one blue, one green.
<tr> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
This table has 3 rows, one red, one blue, one green. The yellow cell spans all 3 rows.
<tr> |
<td rowspan=3></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
1st Row: <tr><td rowspan=3></td> <td></td> <td></td></tr>
2nd Row: Starts with the 1st blue cell. <tr><td></td> <td></td></tr>
3rd Row: Starts with the 1st green cell. <tr><td></td> <td></td></tr>
This table has 3 rows, one red, one blue, one green. The yellow cell spans all 3 rows.
<tr> |
<td></td> |
<td rowspan=3></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
1st Row: <tr><td></td> <td rowspan=3></td> <td></td></tr>
2nd Row: Starts with the 1st blue cell and ends with the 2nd blue cell. The yellow cell from the 1st row takes up the space in between the 2 blue cells. <tr><td></td> <td></td></tr>
3rd Row: Starts with the 1st green cell. Yellow cell same as above. <tr><td></td> <td></td></tr>
RULE: The rowspan number depends on the number of rows that cell crosses.
|
|