O'Reilly logo

Dreamweaver 8: The Missing Manual by David Sawyer McFarland

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

Editing Library Items

You'll appreciate the real power of Library items when it's time to make a change. When you update the file in the Library, all pages that you've graced with that item update themselves, too.

Start by opening the Library, as described on Section 16.6. Then:

  1. Open the Library item that you want to edit.

    You can do this by double-clicking the Library item in the Assets panel, by highlighting it and then clicking the Edit button (Figure 16-4), or by highlighting a Library item on a Web page and then clicking the Open button on the Property inspector (Figure 16-5). (You can also open the Library item file—an .lbi file—in the Library folder of your site's root directly from the Files panel.)

    Dreamweaver opens what looks like a miniature Web page document, containing nothing but the text, graphics, or other elements of the Library file.

    The selected Library item (a .lbi file) is in the site's Library folder. (The path appears after the word "Src.")

    Figure 16-5. The selected Library item (a .lbi file) is in the site's Library folder. (The path appears after the word "Src.")

  2. Edit away.

    A Library item is only a selection of HTML; it's not a complete Web page. That means you can't edit page properties like the title or background color. Also, you can insert Library items only in the body of a Web page, so stick with objects that would normally appear in the document window, such as links, images, tables, and text. Don't add any code that appears in the head of a Web page, such as Cascading ...

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