Applying Custom Styles with Find and Replace

Now that you have removed the <font> tags and attached an external style sheet, you can apply a custom CSS style to text in the index.html document. In this exercise, you will use the Find and Replace feature to locate the text in the code and apply the HTML tags for the custom style.

1.
Reopen the index.html document. Select the first occurrence of the phrase “Anusara Yoga” in the body text—at the end of the sentence that begins with “At Yoga Sangha, we’re dedicated…” In the following steps, you’ll use Find and Replace to style all instances of this phrase with CSS.
2.
Choose Edit > Find and Replace. Select Current Document from the Find In menu and select Source Code from the Search menu. Type ...

Get macromedia Dreamweaver 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.