Skip to Content
Dreamweaver in a Nutshell
book

Dreamweaver in a Nutshell

by Heather Williamson, Bruce A. Epstein
November 2001
Intermediate to advanced
480 pages
16h 4m
English
O'Reilly Media, Inc.
Content preview from Dreamweaver in a Nutshell

Chapter 11. HTML Styles

HTML styles provide an easy way to apply character and paragraph formatting with a single click. You can create and store HTML-based styles to quickly format text items such as headings, paragraphs, and copyright notices. Let’s see how to use this convenient timesaver.

As mentioned in the preceding chapter, HTML styles are an authoring-time convenience that apply basic HTML tags that work with any version of any browser. HTML styles don’t offer “live updating” like Cascading Style Sheets or Dreamweaver’s Template and Library features. An HTML style must be reapplied manually if you want to update formatting. HTML styles apply HTML formatting tags and therefore take precedence over globally applied CSS styles.

Creating HTML Styles

HTML styles are applied and managed by using the HTML Styles panel, shown in Figure 11-1. Open it using Window HTML Styles, the HTML Styles icon in the Launcher bar, Ctrl+F11 (Windows), or Cmd+F11 (Macintosh).

The HTML Styles panel

Figure 11-1. The HTML Styles panel

Unlike styles that appear in the CSS Styles panel, which are specific to the current document, styles stored in the HTML Styles panel are available to all documents in your site. This feature makes HTML styles easier to apply locally, whereas CSS styles are easier to manage globally.

HTML styles cannot contain text or other content—they are used strictly for formatting. To insert, for example, ...

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 CS6: The Missing Manual

Dreamweaver CS6: The Missing Manual

David Sawyer McFarland

Publisher Resources

ISBN: 0596002394Catalog PageErrata