Dreamweaver lets you create layers on your page easily and position them precisely. You can also create nested layers. For more information, see Nesting layers.
NOTE |
|
You can use a Dreamweaver design file as a starting point for your CSS layout. Select a file from the Page Designs (CSS) category of the New Document dialog box (see Creating a document based on a Dreamweaver design file). |
When you insert a layer, Dreamweaver displays the layers border, by default, and highlights the block when you move the pointer over it. You can enable layer borders by disabling both Layer Outlines and CSS Layout Outlines in the View > Visual Aids menu. You can also enable backgrounds and the box model for layers as a visual aid while you design. For more information, see Working with CSS layout visualization.
To change the highlight color of a layer or to disable highlighting, see Changing the highlight color for div tags.
After you create a layer, you can add content to it by simply placing your insertion point in the layer, and then adding content just as you would add content to a page.
You can continue to draw new layers as long as you do not release the Control or Command key.
NOTE |
|
This procedure places the tag for the layer wherever you clicked in the Document window. The visual rendering of the layer may thus affect other page elements (like text) that surround it. |
The layers borders highlight, and the selection handle appears, but the layer itself is not selected. For information on selecting layers, see Selecting layers.
NOTE |
|
Selecting both options simultaneously will have the same effect. |