• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 56. Designing Data Tables > Working with Colspans and Rowspans

Working with Colspans and Rowspans

Colspans and rowspans are the bane of layout tables, because they cause all sorts of strange breakage problems. These attributes come in handy for data tables, though, because that's what the people who dreamed up HTML designed colspans and rowspans for.

Technically speaking, the colspan attribute determines how many columns a particular table cell spans or straddles, while the rowspan attribute determines the number of spanned rows. The best way to understand how colspans and rowspans work is to look at an example, which Figure 56.2 provides.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint