O'Reilly logo

Dreamweaver 8: The Missing Manual by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying Layer Properties

Once you've added a layer, you don't need to go back to the CSS Rule Definition window to edit most of the layer's positioning properties. Using the Property inspector, you can rename it, resize it, move it, align it with other layers, and set many other properties.

But first, you must select the layer using one of these methods:

  • Click the layer's name in the Layers panel (Figure 8-9).

  • Click the layer's selection handle (Figure 8-7).

  • Click the layer's border. The border turns red when you've moved your mouse into the proper position.

  • Click the Layer marker that indicates the HTML code for the layer (Figure 8-7). (In Dreamweaver 8, the factory preset is to hide these markers, since they can get in the way of your design work; to show them, see Section 8.4.)

And if those aren't enough ways to select a layer—Macromedia's programmers never sleep—you can also Shift-click a layer. This technique also lets you select multiple layers, so that you can set the properties of (or align) many layers at once. If you're working in a layer or have a layer selected, Shift-clicking another layer selects them both. You can continue to Shift-click to select additional layers. (Shift-click a second time to deselect a selected layer.)

Resizing Layers

When you select a layer, eight handles appear around the edges of the layer (see Figure 8-7). You can drag any of these handles to change the layer's dimensions. The corner handles resize both the width and height simultaneously.

You can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required