
Inserting and Formatting Text
247
To create a new HTML style based on an existing HTML style:
1
Make sure no text is selected in the Document window.
2
In the HTML Styles panel, select a style, then do one of the following:
•
Click the triangle in the upper right corner of the panel to display the drop-
down context menu.
•
Right-click (Windows) or Control-click (Macintosh), then choose Duplicate
from the context menu.
The Define HTML Style dialog box appears. To reset it to the default
options, click Clear.
3
Complete steps 3 and 4 in the instructions for creating a new style based on
existing text.
To create a new HTML style from scratch:
1
In the HTML Styles panel, click the New Style icon; you can also choose
Text > HTML Styles > New Style.
The Define HTML Style dialog box appears.
2
Complete steps 3 and 4 in the instructions for creating a new style based on
existing text.
Click Clear to reset the dialog box to the default options.
3
Click OK.
To edit an existing HTML style:
1
Make sure no text is selected in the Document window.
2
In the HTML Styles panel, make sure the Auto Apply checkbox is deselected.
If the Auto Apply option is turned on, the HTML style will be applied when
you select it in the HTML Styles panel.
3
In the HTML Styles panel, right-click (Windows) or Control-click
(Macintosh) the style, then choose Edit from the context menu.
The Define HTML Style dialog box appears. To reset it to the default
options, click Clear.
When you edit an HTML style, Dreamweaver does not automatically update
text that was previously formatted using the HTML style. If you want to
update formatting applied with a style, use a CSS style sheet; see “Using CSS
style sheets” on page 248.
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...