Sunday, December 28, 2014

How to work with layers in Dreamweaver.

            Layers are containers that enable you to position items on the screen wherever you want. Layers can also be animated in Dreamweaver.
1.                  Choose Insert > Layer or click the Draw Layer button on the Insert bar and draw a layer in the Document window’s Design view.
2.                  Add contents to the layer as per your requirement.

Layers Palette:
            The Layer Palette can be used to perform certain editing and management tasks with layers. It is particularly effective when there are two or more layers on a page.
1.                  Go to Window menu.
2.                  Click on Layers.

Positioning Layers (Defining Stacking order):
            Not only can you position layers in exact places on the page, but you can also allow layers to overlap each other. The Z-index value determines the stacking order. It can be either a negative or a positive numbers.
            Layers Palette show the Z-index value of all the existing layers. The layer with the highest Z-index is on the top.
            You can set the Z-index in the Z-index box in the property bar. The layers Panel also display the Z-index to the right of the layer name. you can easily rearrange the stacking order by selecting the layer name in the Layers Panel and then dragging and dropping it somewhere else.