Chapter 9: Tables | |||||||
|
|||||||
Spanning a Cell across Columns
With a table, its often necessary to straddle or span one cell across a few columns. For example, with multicolumn text, you could span a headline across the columns of text. To span a cell across two columns:
Tip
|
|||||||
Figure 9.19 Notice that it was necessary to add the COLSPAN tag to the new header, the photo, and the caption since they all span across the two columns of text. The third bit of text (Why is it so easy...) is still separate and will appear below the table. | |||||||
Figure 9.20 The three highlighted cells span two columns. The two columns of text are simply individual TD cells. | |||||||