Unless
a cell??™s width is specified, the cell currently being edited expands or contracts, and the other cells are forced
to adjust their width. Figure 13-4 shows a table (with one row and three columns) in three different states.
In the top table, only the first cell contains text; notice how the other cells have contracted. In the middle
table, text has been entered into the second cell as well, and you can see how the first cell is now smaller.
Finally, in the bottom table, all three cells contain text, and the other two cells have adjusted their width to
compensate for the expanding third cell.
If you look closely at the bottom table in Figure 13-5, you can see that the text doesn??™t line up vertically.
That??™s because the default vertical alignment in Dreamweaver, as in most browsers, provides for entries to be
positioned in the middle of the cell. (Later in this section, you learn how to adjust the vertical alignment.)
The expandability of table cells is very significant when you are inserting information from a
data source because the data is often of varying length. See Chapter 22 for details about how
to use Dreamweaver??™s Live Data view to check your layout.
Moving through a table
When you??™ve finished entering your text in the first cell, you can move to the next cell in the row by pressing
the Tab key.
Pages:
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868