• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Selecting a Table

Now that all the content from the second table is in the first table, you no longer need the second table. To delete it, you need to select the table first. Dreamweaver provides several methods for selecting a table. You will find that some methods are easier to use than others, depending on the complexity of the table structure.

1.
In the lodging.html document, select the second table by positioning the pointer anywhere inside the table, and then selecting the <table> tag in the Tag Selector on the bottom left corner of the document window.

TIP

You can also select a table by clicking the top left corner of the table or anywhere on the right or bottom edge. The pointer turns into a hand (Macintosh) or a cross (Windows) when you are close to the edge. Wait until you see the pointer before you click. Another way to select a table is to click inside the table and choose Modify > Table > Select Table.

Selection handles appear around the table when it is selected. When the table is selected, you cannot see the black borders around any of the cells; you see only one black border around the entire table.

NOTE

In addition to the <table> tag, you will also see the <tr> and <td> tags in the Tag Selector. The tag <tr> represents the table row. The tag <td> represents the table data, otherwise known as a cell. Selecting a <td> tag will select the corresponding cell, and allow you to make changes to the cell in the Property inspector.

2.
With the table selected, press Delete (Macintosh) or Backspace (Windows) to remove the second table.

The second table is gone.

TIP

When the pointer is inside a cell, the keyboard shortcut Command+A (Macintosh) or Ctrl+A (Windows) will select the cell. Using the keyboard shortcut a second time will select the entire table.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint