beautypg.com

Adobe Dreamweaver CC 2014 v.13 User Manual

Page 285

background image

The graphical depiction for either set of AP Divs might look as follows:

In the first set of div tags, one div is sitting on top of the other on the page. In the second set, the apDiv4 div is actually inside of the apDiv3 div.
(You can change AP Div stacking order in the AP Elements panel.)

Nesting is often used to group AP Divs together. A nested AP Div moves with its parent AP Div and can be set to inherit visibility from its parent.

You can enable the Nesting option to automatically nest when you draw an AP Div starting inside another AP Div. To draw inside or over another
AP Div, you must also have the Prevent Overlaps option deselected.

Draw a nested AP Div

1. Make sure Prevent Overlaps is deselected in the AP Elements panel (Window > AP Elements).

2. In the Layout category of the Insert panel, click the Draw AP Div button

.

3. In the Document window’s Design view, drag to draw an AP Div inside an existing AP Div.

If Nesting is disabled in AP Elements preferences, Alt-drag (Windows) or Option-drag (Macintosh) to nest an AP Div inside an existing AP
Div.

Nested AP Divs may appear differently in different browsers. When you create nested AP Divs, check their appearance in various
browsers frequently during the design process.

Insert a nested AP Div

1. Make sure Prevent Overlaps is deselected.

2. Place the insertion point inside an existing AP Div in the Document window’s Design view, then select Insert > Layout Objects > AP Div.

Nest AP Divs automatically when you draw an AP Div inside another AP Div

Select the Nesting option in the AP Elements preferences.

View or set AP element preferences

Use the AP Elements category in the Preferences dialog box to specify the default settings for new AP elements you create.

1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).

2. Select AP elements from the Category list on the left and specify any of the following preferences, and then click OK.

Visibility Determines whether AP elements are visible by default. The options are default, inherit, visible, and hidden.

Width and Height Specify a default width and height (in pixels) for AP elements you create using Insert > Layout Objects > AP Div.

Background Color Specifies a default background color. Select a color from the color picker.

Background Image Specifies a default background image. Click Browse to locate the image file on your computer.

Nesting: Nest When Created Within An AP Div Specifies whether an AP Div that you draw starting from a point within the boundaries of
an existing AP Div should be a nested AP Div. Hold down Alt (Windows) or Option (Macintosh) to temporarily change this setting while
you’re drawing an AP Div.

View or set properties for a single AP element

When you select an AP element, the Property inspector displays AP element properties.

1. Select an AP element.

2. In the Property inspector (Window > Properties), click the expander arrow in the lower-right corner, if it isn’t already expanded, to see all

properties.

278

This manual is related to the following products: