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

Resizing a Table

After you create a table, you may find that it is too large or too small, or you may need to add columns and rows. You can adjust these table properties easily.

In the biking_table.htm document, move the pointer over the vertical table border on the right side of the table. When the pointer changes to a two-headed arrow, drag the column border slightly to the right.

You have enlarged the table. You can see the new width by selecting the table and looking at the number in the Width text box in the property inspector. Whenever you drag table borders in this way, Dreamweaver automatically assigns and updates widths. Sometimes this width may not be what you want. In that case, click the Clear Column Widths and Clear Row Heights buttons in the property inspector.

Click the last row of the table, and choose Modify > Table > Insert Rows or Columns to insert one row below the current row. You can also right-click (Windows) or Control-click (Macintosh) the row above and choose Table > Insert Rows or Columns from the context menu.

The Insert Rows or Columns dialog box appears. This dialog box allows you to specify whether to insert before or after the current row. When you choose Rows, type 1 in the Number of Rows text box. When you use this dialog box, you have more control of where the new rows or columns are placed, and you can insert any number of rows or columns.


You can also click the last cell of the last row and press Tab to insert another row at the bottom of the table. If you choose Modify > Table > Insert Row, the new row is inserted above the current row by default.

In the left cell of the row you just inserted, click and drag to the right to select all the cells in the row. Click the Merge Cells button in the property inspector. You can also choose Modify >Table > Merge Cells.

The four cells now form one long cell that spans four columns. The attributes of the first cell, such as color and alignment, are applied to the merged cell.


You can split cells in the same manner by clicking the Split Cell button in the property inspector or by choosing Modify > Table > Split Cell. This method returns the number of cells to the original number if you merged them, or it can split a cell into any number of rows or columns.

In the cell you just merged, type © 2000, Compass Adventure Travel.

Merging cells gives you many more options for layout. You can merge any number of cells as long as they make up a rectangular selection.


If you need to delete a row, click the row and then choose Modify > Table > Delete Row. You can also right-click (Windows) or Control-click (Macintosh) in the table and choose Table > Delete Row from the context menu.

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