Adding and Removing Rows and Columns

Even after inserting a table into a Web page, you can add and subtract rows and columns from your table. The text or images in the columns move right or down to accommodate their new next-door neighbor.

Adding One Row or Column

To add a single row to the table, you can use any of these approaches:

  • Click inside a cell. Choose ModifyTableInsert Row, or press Ctrl+M (Adding One Row or Column-M), to insert a new row of cells above the current row. Alternatively, you can right-click (Control-click) a cell and choose TableInsert Row from the contextual menu.

  • To add a new row at the end of a table, click inside the last cell in the table and then press Tab.

The new columns inherit the properties (width, height, background color, and so on) as the column you originally clicked.

To add a single column of cells:

  • Click inside a cell and then choose ModifyTableInsert Column.

  • Click inside a cell and then press Shift+Ctrl+A (Shift-Adding One Row or Column-A).

  • Right-click (Control-click) a cell, and then choose TableInsert Column from the contextual menu that appears.

In each case, a new column appears to the right of the current column.

Adding Multiple Rows or Columns

When you need to expand your table more rapidly, you can use a special dialog box that lets you add many rows or columns at once.

  1. Click inside a cell. ...

Get Dreamweaver MX: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.