Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
210
Chapter 7:  Laying Out Pages with CSS
Aligning layers
Use the layer alignment commands to align one or more layers with a border of the last layer 
selected.
When you align layers, child layers that aren’t selected may move because their parent layer is 
selected and moved. To prevent this, don’t use nested layers.
To align two or more layers:
1.
In the Design view, select the layer (see 
). 
2.
Select Modify > Arrange, and then select an alignment option. 
For example, if you select Top, all of the layers move so that their top borders are in the 
same vertical position as the top border of the last selected layer (highlighted in black).
Related topics
Converting layers to tables
Instead of using tables or Layout mode to create your layout, some web designers prefer to 
work with layers. Dreamweaver enables you to create your layout using layers, then (if you 
want) convert them into tables. For example, you might need to convert your layers to tables 
if you need to support browsers before version 4.0.
You can convert back and forth between layers and tables to adjust the layout and optimize 
page design. You cannot convert a specific table or layer on a page; you must convert layers to 
tables and tables to layers for an entire page. 
NO
TE
You can’t convert layers to tables or tables to layers in a template document or in a 
document to which a template has been applied. Instead, create your layout in a non-
template document and convert it before saving it as a template. 
NO
T
E
Converting from layers to tables may result in tables with a large number of empty cells.