
Inserting and Formatting Text
245
Unlike CSS styles, HTML style formatting only affects text that you apply it to,
or text that you create using a selected HTML style. If you change the formatting
of an HTML style you have created, text that was originally formatted with that
style is not updated. If you want the ability to change formatting, and
automatically update all instances of that formatting, use CSS styles; see “Using
CSS style sheets” on page 248.
To display the O’Reilly HTML reference guide included with Dreamweaver, click
the Reference button found on the toolbar and choose O’Reilly HTML Reference
from the drop-down menu.
You can use the HTML Styles panel to record the HTML styles you use in your
site, and then share them with other users, local sites, or remote sites.
To display the HTML Styles panel, do one of the following:
•
Choose Window > HTML Styles.
•
Click the HTML Styles icon in the Launcher bar or Launcher.
To view an existing HTML style:
1
In the HTML Styles panel, select a style.
Note that Clear Paragraph Style and Clear Selection Style are used on text
that has a style applied, but they are not styles themselves; they cannot be
viewed or edited.
2
While in the HTML Styles panel, right-click (Windows) or Control-click
(Macintosh) and choose Edit from the context menu, or double-click the
HTML style and choose Edit from the context menu.
3
In the Define HTML Style dialog box, specify the settings for the style.
The Apply To options determine whether the style applies to the selected text
(Selection) or the current text block (Paragraph). The When Applying options
determine whether the settings for the style are added to the original text
formatting (Add to Existing Style), or removed from the existing formatting
and replaced with the new settings (Clear Existing Style).
To apply an existing HTML style:
In the HTML Styles panel, select a style.
•
If the Auto Apply checkbox at the bottom of the panel is selected, click
the style once.
•
If the Auto Apply checkbox is not selected, click the style, then click Apply.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...