Setting the position and visibility of layers in Adobe Dreamweaver
By: Staff
Date: March 15, 2008
Recommended by: readers | 
Level: Intermediate |
Many users have difficulties in using layers, this week we will address this matter a little, talk on setting the position and visibility of layers.
The properties of layer are adjusted from the Property inspector and, to some extent, the panel Layers (F2). Many of the properties of layer can also be manipulated using JavaScript or VBScript, if you are familiar with it. View the inspector Property and Layer panel to edit the layer.
1 - rename a layer with a more meaningful name than Layer 1, Layer 2 and so on, entering with a new name in the box Layer ID Property inspector. Numbers can be used, except as the first character in the name;
2 - Among the values L and T in the Property inspector, to indicate the position of the layer from the left and the top of the layer father when nested, or Document of the window when the layer is not nested. Among the W and H values for the width and height of the layer, respectively.
3 - Enter a value in the entire Z-Index of the Property inspector. The index-z a layer determines its place above or below other layers. Layers as higher numbers are placed above layers with lower numbers. You can also click the value of index-z, in the Layers panel, to change value, or simply, dragging the layers up and down in the Layers panel for them to restructure.
4 - Adjust the visibility of the layer by selecting an option from the pull-down menu Vis, in the Property inspector. Select Invisible to hide, initially a layer or to temporarily hide the layer, while you are working on the page in Dreamweaver. Choose Visible to show where the layer. Choose Inherit to inherit the visibility of layer father.
A tip:
You can specify the measures to L, T, W and H in pixels, centimeters, millimeters, inches, points, or %. The standard unit of measure is pixels. Among the values with no space between the number and description of unit of measure. Use px for pixels, cm for centimeters, mm for millimeters, in for inch.
|