#29 Defining AP Objects

AP divs are containers on a Web page that hold content such as type, images, or other objects like media. AP divs are defined by their location on a page and their size (measured in pixels). Dreamweaver allows you to simply draw AP divs on the page, just as if you were designing a page layout in a program like Illustrator or InDesign. As you draw, resize, or move an AP div, Dreamweaver generates CSS code that defines or redefines the location and size of that AP div.

To draw an AP div in an open document, choose Insert > Layout Objects > AP Div. An AP div appears in the document. By default, this AP div is 200 pixels by 115 pixels and is located at the top-left edge of your page (Figure 29a).

Figure 29a A default AP ...

Get Adobe® Dreamweaver® CS4 How-Tos: 100 Essential Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.