O'Reilly logo

Adobe® Dreamweaver® CS4 How-Tos: 100 Essential Techniques by David Karlins

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

#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 ...

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