Tables are useful for laying out data. They can also be used to control where text and graphics appear on a page. Once you create a table, you can add content, modify cell and row properties, and copy and paste multiple cells.
Tags
Drag the Table button from the Object palette to the desired location on the page.
Cell Padding Specifies the amount of spacing between the cell content and the cell boundary (or wall).
Cell Spacing Specifies the amount of spacing between the table cell not including the border.
Width Specifies the width of the table in pixels or as a percentage of the browser window.
Border Specifies the width of the table border

With a single gesture you can select an entire table, row or column, or a continuous range of cells within a table.
To select an entire table, do one of the following:
To select rows or columns, do one of the following:
To Select one or more cells, do one of the following:
To select multiple discontinuous cells do one of the following:
When formatting tables in the document window you can define properties that apply to the entire table or to selected rows, columns, or cells in the table
When the same property is set more that once in a table (like a font tag), it is interpreted in this way: Cell formatting, which is part of the <td> tag, takes precedence over a table row formatting (<tr>), which in turn takes precedence over a table formatting tag (<table>).
To sort the table
Select the table and choose Commands > Sort Table
In the dialog box that appears, choose from the following options:
- Select the column to sort in the Sort By option
- Select whether you want to sort the column alphabetically or numerically in the Order option
This option is important when the contents of a column are numerical. An alphabetical sort applied to a list of one-and two-digit numbers will result in alphanumeric sort (such as 1, 10, 2, 20, 3, 30) rather than a straight sort (such as 1, 2, 3, 10, 20 30)
- Select Ascending (A to Z or low to high) or Descending for the sort order.
To perform a secondary sort on a different column, specify the sort options under Then By.
Check the Sort Includes First Row option to include the first row in the sort. If the first row is a heading that shouldn't be moved, leave this option unchecked
Use the commands on the Modify > Table menu or the commands on the shortcut menu to add and remove rows and columns from a table.
To add rows or columns:
Click in a cell where you want the new row or column to appear.
Do one of the following:
- To add a row, choose Modify > Table > Insert Row, or choose Table > Insert Row from the shortcut menu.
- To add a column, choose Modify > Table > Insert Column, or choose Table > Insert Column from the shortcut menu.
- To add both columns and rows, choose Modify > Table > Insert Rows or Columns, or choose Table > Insert Rows or Columns from the shortcut menu.
In the dialog box that appears, enter the number of rows or columns you want to add. Specify whether the new rows or columns should appear before or after the selected row or column.
To delete a row or column:
Click in a cell within the row or column you want to delete.
Choose one of the following options:
- To delete a row, choose Modify > Table > Insert Row, or choose Table > Delete Row from the shortcut menu.
- To delete a column, choose Modify > Table > Insert Column, or choose Table > Delete Column from the shortcut menu.
To add or delete rows or columns from the bottom and right of a table:
Select the entire table
In the Property inspector:
Dreamweaver adds and removes rows from the bottom of the table, and it adds and removes columns to the right. Dreamweaver does not warn you if you are deleting rows that contain data.
- Increase the row or column value to add rows
- Decrease the row or column value to delete rows.
| < Images |
Frames
>
|