Here is simple page that displays a 5 day schedule.
Within each day, events are listed.
The schedule is 3 columns. The day of the week spans the three columns and has a background color of silver. In the second row, the date is in a smaller font and the room cell spans two columns.
The times are in a <TH VALIGN=TOP> container.
Example 2
Supposed you wished to create a page where you had a name, a logo, three pages to link to along with an e-mail link. The following table could present such a heading:
In
this page that makes heavy use of background colors and nested tables.
Note how within a cell, another table is used and how it is positioned within the cell.
These nested tables also make use of the WIDTH= to shrink them. When using a nested table, the width when specified in percent is that of the cell its self.
The graphics are also aligned within the cells. Since the cells are of different colors, you can see where cells span.
Example 5
Creating a flush righ copyright or disclaimer type statement is easily accomplished with a nested table.
A nested table is needed because if you use the <P ALIGN=RIGHT> container, multiple lines will not align left as can be seen from:
This is easily fixed by creating a table with one cell. That cell is aligned right and within the cell there is a table with one (could be more) cells.
One of the more novel ideas I have seen with tables is some work done by some people called Cybertowers on a page belonging to OT-Online. . By nesting tables and making judicous use of borders, cellspacing and cellpadding, an apartment complex was generated.
Before running out and trying this, I would suggest using all images within the tables. The reason for this being that font size differnces either within a particular bowser or due to a setting could ruin the tower effect.
The image within the cell has a vertical alignment equal to top.
As stated, you may have to align the image. When an image has an alignment of top, that means the top of the image is aligned with the text baseline (you move the image down). An align of bottom means the bottom of the image is aligned with the text baseline.