After completing this topic, you will be able to replace a style with another style.
Steps:
Create a new Heading 2 style and name the style H2.
Click the Add Style button.
Step 1Click the Heading 2 list item.
Step 2Enter the desired information into the Style Name field. Enter
Press [Enter].
Step 4Add a gray background color to the style.
Click the Background Color button.
Step 5Click the Gray in the Web Colors palette.
Step 6Click the Ok button.
Step 7Change the text color to white.
Click the Text Color button.
Step 8Click the White in the Web Colors palette.
Step 9Click the Ok button.
Step 10Change the after spacing to 2 points.
Click the Spacing button.
Step 11Click in the After field.
Step 12Enter the desired information into the After field. Enter
Click the OK button.
Step 14Save the style sheet.
Click the Save button.
Step 15Switch to the WordPad Training outline.
Click the WordPad Training tab.
Step 16The Properties toolpane shows that the Page Setup web page is using the MyStyles style sheet.
The concept pane shows that the Blue Verdana Heading 2 style is applied to the Heading 2 elements.
Step 17View the concept for the Work with Views section.
Click the Work with Views section.
Step 18The concept pane shows the Blue Verdana Heading 2 style applied.
View the concept for the Hiding and Displaying the Ruler topic.
Click the Hiding and Displaying the Ruler topic.
Step 19The web page also uses the Blue Verdana Heading 2 style.
Select the root of the outline.
Click the WordPad Training module.
Step 20Replace all instances in the WordPad Training outline of the Blue Verdana Heading 2 style with the H2 style.
Click the Edit menu.
Step 21Click the Replace Font command.
Step 22Click the Style option.
Step 23Select the style sheet containing the original and replacement styles.
Click the Style sheet list.
Step 24Click the MyStyles list item.
Step 25Select the style you want to replace.
Click the Style name list.
Step 26Click the Heading 2 - Blue Verdana Heading 2 list item.
Step 27Select the replacement style.
Click the Style name list in the Replace with section.
Step 28The list shows styles of the same element type only; in this case Heading 2 elements.
You can only replace a style with another style of the same element. For example, you cannot replace a Heading 2 style with a Table style.
Click the Heading 2 - H2 list item.
Step 29A preview of the replacement style appears in the Replace Font dialog box.
Because the Include related documents option is selected, the replace will search all web pages in the outline linked to the MyStyles style sheet.
Because style sheets only apply to web pages, all of the Apply to options are unavailable, except Web page text.
Step 30Include web page text in the search.
Click the Web page text option.
Step 31Click the Replace button.
Step 32Confirm the replacement.
Click the Yes button.
Step 33View the activity log.
Click the View activity log link.
Step 34The log shows how many replacements were made in each web page.
Step 35Close the Activity Log.
Click the Close button.
Step 36Close the search dialog box.
Click the OK button.
Step 37Close the Replace Font dialog box.
Click the Close button.
Step 38View the concept linked to the Work with Views section.
Click the Work with Views section.
Step 39The H2 style replaces the Blue Verdana Heading 2 style.
Step 40After completing this topic, you are able to replace a style with another style.