You can draw layout cells and tables on your page in Layout mode. When you draw a layout cell that isnt inside a layout table, Dreamweaver automatically creates a layout table as a container for the cell. A layout cell cannot exist outside of a layout table.
NOTE |
|
In Layout mode, you cant use the Insert Table and Draw Layer tools that you can use in Standard mode. To use those tools, you must first switch to Standard mode. |
When Dreamweaver automatically creates a layout table, the table initially appears to fill the entire Design view, even if you change the size of your Document window. This full-window default layout table allows you to draw layout cells anywhere in Design view. You can set the table to a specific size by clicking the table border, then dragging the tables resize handles.
When you move the pointer over a layout cell, Dreamweaver highlights it. You can enable or disable highlighting or change the highlight color in preferences.
The pointer changes to a cross hair (+).
TIP |
|
To draw more than one layout cell without having to repeatedly select Draw Layout Cell, Control-drag (Windows) or Command-drag (Macintosh) when you draw the layout cell. As long as you continue to hold Control or Command, you can draw layout cells one after the other. |
If you draw the cell close to the edge of the layout table, cell edges automatically snap to the edges of the containing layout table. To temporarily disable snapping, hold down Alt (Windows) or Option (Macintosh) while drawing the cell.
The cell appears outlined in blue on your page. To change the outline color, see Setting preferences for Layout mode.
The pointer changes to a cross hair (+).
TIP |
|
To draw more than one layout table without having to repeatedly select Draw Layout Table, Control-drag (Windows) or Command-drag (Macintosh) when you draw the layout table. As long as you continue to hold Control or Command, you can draw layout tables one after the other. |
You can create a layout table in an empty area of your page layout, around existing layout cells and tables, or nested inside an existing layout table. If your page contains content, and you want to add a layout table in an empty area of your page layout, you can draw a new layout table only below the bottom of the existing content.
TIP |
|
If you try to draw a layout table below existing content and the no-draw pointer appears, try resizing the Document window to create more blank space between the bottom of the existing content and the bottom of the window. |
NOTE |
|
Tables cannot overlap each other, but a table can be completely contained inside another table. For more information, see Drawing a nested layout table. |
The Layout table appears outlined in green on your page. To change the outline color, see Setting preferences for Layout mode.
The Preferences dialog box appears.
For information about using the color picker, see Working with colors.
NOTE |
|
These options affect all objects, such as tables and layers, that Dreamweaver highlights when you move the pointer over them. |