HTML and CSS Reference
In-Depth Information
Figure 5-28
Applying the valign attribute
aligns the text of f cells in the table
body with the top of each cell
3. Save your changes to the file and then reload or refresh the schedule.htm file
in your Web browser. As shown in Figure 5-29, the text is aligned at the top of
the cells.
Figure 5-29
Cell content aligned with the top of each cell
Kyle likes the appearance of the program table. He notes, however, that this is only
the evening schedule; he plans to create Web pages for the morning and afternoon
schedules as well. To ensure that the tables match each other, you'll have to insert the
various HTML attributes into each table's markup tags. Kyle would rather use CSS so he
can easily apply the formatting he likes to all of the schedules at once using an external
style sheet. He suggests that you explore the CSS table styles before continuing your
design of the evening schedule.
Search WWH ::

Custom Search