
Using Dynamic Layers
417
Setting layer properties
Use the Property inspector to specify the name and location of a layer as well as to
set other layer options. To see all of the following properties, click the expander
arrow in the lower right corner of the Property inspector.
Layer ID
allows you to specify a name to identify the layer in the Layers panel and
for scripting. Enter a name in the unlabeled box on the left side of the Property
inspector. Use only standard alphanumeric characters for a layer name. Do not use
special characters such as spaces, hyphens, slashes, or periods. Every layer must
have its own unique name.
L
and
T
(left and top) specify the position of the layer relative to the top left corner
of the page or parent layer (if nested).
W
and
H
specify the width and height of the layer. These values are overridden if
the content of the layer exceeds the specified size.
If you have
div
or
span
set as the default tag, the default values for location and
size are in pixels (px). You can also specify the following units: pc (picas), pt
(points), in (inches), mm (millimeters), cm (centimeters), or % (percentage of the
parent’s value). The abbreviations must follow the value without a space: for
example, 3mm. The Overflow setting controls how layers react when the content
exceeds the layer’s size.
Z-Index
determines the
z
-index, or stacking order, of the layer. Higher-numbered
layers appear above lower-numbered layers. Values can be positive or negative. It’s
easier to change the stacking order of layers using the Layers panel than to enter
specific
z
-index values. See “Changing the stacking order of layers” on page 420.
Netscape layers (those with the
layer
or
ilayer
tag) can also be stacked relative
to other layers on the page. When you select a Netscape layer, two additional
options appear in the lower right corner of the Property inspector. Use the A/B
option to select a relative stacking position and then choose the name of another
layer from the pop-up menu directly to the right. (A specifies a layer above the
current layer; B specifies a layer below the current layer.)
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...