Skip to Content
Dreamweaver CS6: The Missing Manual
book

Dreamweaver CS6: The Missing Manual

by David Sawyer McFarland
July 2012
Intermediate to advanced
1034 pages
38h 32m
English
O'Reilly Media, Inc.
Content preview from Dreamweaver CS6: The Missing Manual

Editing Library Items

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

Start by opening the Library, as described on Creating and Using Library Items. Then:

  1. Open the Library item you want to edit.

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

    Dreamweaver opens what looks like a normal web page, but it contains only the text, graphics, or other elements of the Library file.

  2. Edit away.

    A Library item is only a selection of HTML, it’s not a complete web page. That means you must not add page properties, like a title or background color, or one of the behaviors discussed in Chapter 13. (Dreamweaver actually lets you do this, but that adds invalid HTML to the Library item as well as to every page that uses that Library item.) 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 Style Sheets, meta tags, behaviors, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Dreamweaver CS4: The Missing Manual

Dreamweaver CS4: The Missing Manual

David Sawyer McFarland
Dreamweaver CC: The Missing Manual

Dreamweaver CC: The Missing Manual

Chris Grover, David Sawyer McFarland

Publisher Resources

ISBN: 9781449326999Errata Page