Choose Modify?Templates?Apply Template to Page and then doubleclick the name of a template to apply it to the page. _ Drag the template from the Template panel into the Document window. If the editable regions dont match up, Dreamweaver asks you to match up inconsistent region names in a dialog box. After the region conflicts are resolved, click OK. You can detach a template, or remove the template association from a file, by selecting Modify?Templates?Detach from Template. This action makes the file fully editable again, but any future changes you make to the template will not be reflected on the detached page. Reusing Elements with the Library Feature The Library feature is not a common feature in other Web design programs, so the concept may be new to you even if youve been developing Web sites for a while. The more experience you have with this feature, however, the more likely you are to appreciate its value and the time you can save using library items. The Dreamweaver Library feature automates the process of inserting and updating elements that appear on multiple pages in a Web site. You can save any element as a Library item - for example, a logo or a row of images that serve as a sites navigation, or even a table with images and links. After you save it in the library, you can insert any item or collection of items into any page from the Library with drag-and-drop ease. And, if you ever need to change a Library item (by adding or changing a link, for example), you simply edit the stored Library item and Dreamweaver automatically updates the Library item on any or all the pages where it appears throughout the site. A Library item is a snippet of code that can contain image references and links. Like templates, Library items are a great way to share the work of your best designers with less experienced ones. For example, one designer can create a logo and another the navigation elements, and then these can be placed in the Library and made available to the entire team. You have more flexibility with Library items than templates because they are elements you can place anywhere on any page, even multiple times. Libraries are not shared among sites, however, so each site you define must have its own collection of elements in its Library. 104 Part II: Looking Like a Million (Even on a Budget) You can save any element from the body of a document as a Library item. That includes text, tables, forms, images, Java applets, and even multimedia files. Library items can also contain behaviors, but special requirements exist for editing the behaviors in Library items. (For more on behaviors, see Chapter 9.) Library items cannot contain their own style sheets because the code for styles can only appear as part of the Head area of an HTML file. (For more on style sheets, see Chapter 8.) Creating and using Library items The following sections show you the steps for creating a Library item, adding one to a page, and editing and updating a Library item across multiple pages. For these steps to work properly, you must do them in sequential order. Before creating or using Library items, you must first define a site or open an existing site. If youre not sure how to do this, see Chapter 2. Creating your Library item within an existing page works well because you can see how the item looks before you add it to the Library. You can, of