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

17. Tips, Tricks, and Hacks > Tricks with Tables

Tricks with Tables

By design, tables let authors create appealing, accessible tables of information. But the table tags also can be exploited to create innovative, attractive page designs that are otherwise unattainable in standard HTML or XHTML.

Multicolumn Pages

One very common and popular page-layout element missing from either HTML or XHTML is multiple columns of text. Here’s a tip on how to use tables to achieve that effect.[103]

Basic multicolumn layout

The basic two-column layout using <table> has a single table row with three data cells: one each for the columns of text, and an intervening empty cell to more attractively separate the two columns. We’ve also added a large cellspacing attribute value to create additional intervening space between the columns.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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