Tables can also be used to assist in page layout. Some examples of websites demonstrate this: Example 1 In this example, we refer to the contents page of the Living Africa site. We hope that you will agree that it is an attractive site. Tables have been used to space the elements on the page. The table border width is set at 0, and the table lines are therefore not visible. If one looks at the same page with the border width of the table set at 1 (and lines in the table therefore visible), you will see how the table has been used to separate the graphic and text. Example 2 In this example, we refer to the Land section of the Living Africa site. Once again, looking at the same page with the tables visible, you will see how the basic elements are placed within a table. In this case, there are two tables. Notice how empty cells in the table are used to create white space on the page, which is important so that the page does not become overcrowded with text or graphics. |