Lesson 1: Controlling Alignment within the Cell Tag

Overview:

Square corners abound on the web. Sometimes it is nice to deviate from the hard cornered web world and make something rounded. In this lesson you construct a simple table and learn a trick for formatting tables with rounded corners. The main purpose, aside from bringing round to a square world, is to learn how to control the alignment of content (in this case images) within the cell tag.

Learner Outcomes

Activities

  1. Save these images to your personal file storage:
    top left gif top right gif bottom left gif bottom right gif
    Top Left Top Right Bottom Left Bottom Right
  2. In HomeSite open a new page. Set the background for the page to be the same color as the gifs above - #CCCCFF.
  3. Construct a simple table using the table wizard in HomeSite with the following attributes:
  4. Within a table cell you can give three values for horizontal alignment (left, center, right) and three values for vertical alignment (top, middle, bottom). In other words, there are nine possibilities to position data within a cell tag.
  5. In this exercise you will be using four of the possible nine positions. Now edit the cell tags and insert the images.
  6. Be sure to have your instructor inspect your rounded corner table when you have successfully constructed it.

Resources/Online documents

All done?

Show your instructor your completed table.