COLSPAN
by Florence W Deems |
This table has 2 columns, one red, one blue.
<tr> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
This table has 2 columns, one red, one blue. But the yellow cell spans two columns.
<tr> |
<td colspan=2></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
This table has 3 columns, one red, one blue, one green The yellow cell spans only two of the 3 columns.
<tr> |
<td colspan=2></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
This table has 3 columns, one red, one blue, one green The yellow cell spans only two of the 3 columns.
<tr> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td colspan=2></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
<td></td> |
| </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
<tr> | </tr> |
|
|