|
Converting tables to layers
In Dreamweaver, you can easily convert a page built with tables into a page containing layers. (A layer is a container for HTML content, usually tagged with a DIV or SPAN tag, that you can position anywhere on a page.) After rearranging the layers, you can tell Dreamweaver to convert the page back to a table, which gives the desired layout in most browsers.
To convert your page to layers:
| 1 |
Open a page built with tables. |
| 2 |
Choose Modify > Layout Mode > Convert Tables to Layers. |
| 3 |
In the dialog box that appears, select the desired options.
 |
|
Prevent Layer Overlaps constrains the positions of layers when they are created, moved, and resized so that they don't overlap. This is useful when you're tweaking the final design, since you can't have any overlapping layers if you are going to convert back to a table. |
|
Show Layer Palette displays the Layers palette so you can easily select and rename layers. (You can also display or hide the Layers palette later using the Window menu or the Launcher.) |
|
Show Grid and Snap To Grid let you use a grid to help position layers. (You can also display or hide the grid, and turn snapping on and off, using the View > Grid menu.) |
| 4 |
Click OK. |
|
All of the content in the document is placed in layers. (Empty table cells are not converted to layers.) Even content outside of tables is placed in layers. |
 |
|
|