![]() |
Using Macromedia Dreamweaver 4 |
Tables are ways of laying out content in rows and columns on the page. They can have visible or invisible borders, special backgrounds, etc.
To insert a table in Dreamweaver, click on the Table button
in the Objects men, or choose Table from the Insert menu. In the Table Properties
window that comes up,![[insert table window]](tablesetprop.jpg)
set the initial properties of the table (table properties can be edited later using the properties window):
Click OK to display the new table.
You will now have a table to edit. Type, insert or paste your contents in the
cells of the tables.
| To: | Do: | |
| Insert new rows or columns |
Click at the bottom of the cell you want to insert the row or column
after (or at the top to insert it in front. ) Choose 'Table' from the
Modify menu, then choose 'Insert Rows or Columns'. Select either Rows or Columns, set the number of Rows or Columns to insert, and select whether to insert them Above or Below the cell you're in. Click OK and they will be inserted. |
|
| Delete a row or column | Click in a cell of the row or column you want to delete. Choose Table from the Modify menu, then choose Delete Row or Delete Column | |
| Change the properties of a cell | Click in the cell and set the properties using the Properties window. | |
| Stretch a cell across multiple rows or columns
|
Click in the cell. |
|
| 'Split' a cell so that there are either two horizontal cells or two vertical cells where there was one. | Click in the cell. Choose Table from the Modify menu, then
choose Split Cell.![]() In the pop-up window, choose whether to split it into rows or columns, and how many rows or columns to split it into. |
|
| (Actually adds a new cell/row and increases the column or rowspan of the other cells) | ||
Cells are the smallest unit of a table, the intersection of row and column.
To see and edit table cell properties, you will need to open the properties
panel to its fullest extent by clicking on the more button (down arrow) in the
lower right corner:
If you select all the cells in a row or column, you can set properties for that row or column. To do this, click and drag across all the cells so that each cell is highlighted with a dark line:
Row Selected:![]() |
Column Selected:![]() |
Then set properties as above.
To set properties for the whole table, you will have to select it. To do that,
either choose Table from the Modify menu and choose Select Table, or right-click
on the table and choose Select Table. In the properties panel, the table properties
will be displayed:
To delete a table, select it as above, and click the delete key.
| Back to Lists | Forward to Frames |
Jennifer Heise, Last updated March 29, 2001