Chapter 9: Tables | |||||||
|
|||||||
Adding a Border
A border helps separate your table from the rest of the text. However, if youre laying out your page with tables, you may not want to call so much attention to the border. Its up to you. To create a border:
Tips
|
![]() |
||||||
Figure 9.5 Remember that the BORDER attribute affects not only the external border but also the divisions between cells. | |||||||
![]() |
|||||||
Figure 9.6 Although borders are not usually shown in tables used for layout, they are often temporarily useful for showing exactly whats happening with a table. Here for example, you can see that the word grandmother in the caption wouldnt fit on one line even if the table extended itself all the way to the edge of the window. Therefore, the table shrunk to the limit of the first line of text with grandmother on the next line by itself. | |||||||