COLSPAN


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>



RULE: The colspan number depends on
the number of columns that cell crosses.


Rowspan ~ Combined Colspan & Rowspan ~ Jromy's Trickie Table

Saturday 04th of July 2009 02:57:50 AM

See Flo's Other Tutes


by Tone By Tone Dot Net

Tandem Tooters
~ Arbor Hosting ~