These | are | cells | in | a | Row |
are | row span is five |
||||
cells | |||||
in | |||||
a | |||||
Column | |||||
Column Span (colspan) is Six |
The Roof Width=367 Height=28 | ||
The W=141 H=78 | Three W=59 H=78 |
Windows
W=141 H=78 |
The Facade Width=341 Height=23 to separate the three floors that we are going to construct, |
||
and The Two Pillars to support our structure. Width=14 Height=303 |
The concepts expressed here are for the advanced table student. The only limit is your own creativity once they have been mastered.
Two important attributes of a <TD> cell are colspan and rowspan.
<table cellpadding=5 cellspacing=3 border=2> <tr><td align=center colspan=5> This cell spans all 5</td></tr> <tr><td>Cell 1</td><td colspan=3>This cell spans cells 2, 3 and 4</td> <td>Cell 5</td></tr> <tr><td>Cell 1</td><td align=center>Cell 2</td><td align=center>Cell 3</td> <td align=center>Cell 4</td><td>Cell 5</td></tr></table> |
|
<table cellpadding=5 cellspacing=3 border=3> <tr><td>Row 1 cell 1</td> <td>Row 1 cell 2</td> <td rowspan=4 align=center>Cell 3<p> in<p>Row 1<p>Spans<p>4<p>Rows</td></tr> <tr><td>Row 2 cell 1</td> <td>Row 2 cell 2</td></tr> <tr><td>Row 3 cell 1</td> <td>Row 3 cell 2</td></tr> <tr><td>Row 4 cell 1</td> <td>Row 4 cell 2</td> </tr></table> |
|
<table cellpadding=0 cellspacing=0 border=0> <tr><td colspan=5><img src="span/roof.gif" width=367 height=28></td> |
|
<tr><td colspan=5><img src="span/roof.gif" width=367 height=28 alt="roof"></td></tr> <tr><td rowspan=6><img src="span/column-L.gif" width=14 height=303></td> |
|
<tr><td colspan=5><img src="span/roof.gif" width=367 height=28 alt="roof"></td></tr> <tr><td rowspan=6><img src="span/column-L.gif" width=14 height=303></td> <td><img src="span/window-L.gif" width=141 height=78></td> <td><img src="span/window-c.gif" width=59 height=78></td> <td><img src="span/window-R.gif" width=141 height=78></td> |
|
<tr><td colspan=5><img src="span/roof.gif" width=367 height=28 alt="roof"></td></tr> <tr>&<td rowspan=6><img src="span/column-L.gif" width=14 height=303></td> <td><img src="span/window-L.gif" width=141 height=78></td> <td><img src="span/window-c.gif" width=59 height=78></td> <td><img src="span/window-R.gif" width=141 height=78></td> <td rowspan=6><img src="span/column-R.gif" width=14 height=303></td></tr> |
|
<tr><td colspan=5><img src="span/roof.gif" width=367 height=28 alt="roof"></td></tr> <tr><td rowspan=6><img src="span/column-L.gif" width=14 height=303></td> <td><img src="span/window-L.gif" width=141 height=78></td> <td><img src="span/window-c.gif" width=59 height=78></td> <td><img src="span/window-R.gif" width=141 height=78></td> <td rowspan=6><img src="span/column-R.gif" width=14 height=303></td></tr> <tr><td colspan=3><img src="span/facade.gif" width=341 height=23></td></tr> |
|
| |||||
<table cellpadding=0 cellspacing=0 border=0> <tr><td colspan=5><img src="span/roof.gif" width=367 height=28 alt="roof"></td></tr> <tr><td rowspan=6><img src="span/column-L.gif" width=14 height=303></td> <td><img src="span/window-L.gif" width=141 height=78></td> <td><img src="span/window-c-moe.gif" width=59 height=78></td> <td><img src="span/window-R.gif" width=141 height=78></td> <td rowspan=6><img src="span/column-R.gif" width=14 height=303></td></tr> <tr><td colspan=3><img src="span/facade-moe.gif" width=341 height=23></td></tr> <tr><td><img src="span/window-L.gif" width=141 height=78></td> <td><img src="span/window-c-larry.gif" width=59 height=78></td> <td><img src="span/window-R.gif" width=141 height=78></td></tr> <tr><td colspan=3><img src="span/facade-larry.gif" width=341 height=23></td></tr> <tr><td><img src="span/window-L.gif" width=141 height=78></td> <td><img src="span/window-c-curly.gif" width=59 height=78></td> <td><img src="span/window-R.gif" width=141 height=78></td></tr> <tr><td colspan=3><img src="span/facade-curly.gif" width=341 height=23></td></tr></table> |
|
|