Things to consider when you use the Find and Replace feature in FrontPage 2002 to search Web pages that are based on code in Code view or in HTML view (835471)



The information in this article applies to:

  • Microsoft FrontPage 2002

INTRODUCTION

This article contains information about the Find and Replace feature in Microsoft FrontPage 2002 and discusses things to consider when you use the Find and Replace feature to search for code in Web pages on your Web site.

MORE INFORMATION

In FrontPage 2002, the HTML view and the Code view of a Web page displays only a representation of the actual HTML code that is contained in that Web page. The Find and Replace feature in FrontPage 2002 does not search code on a Web page as the code appears when you open the Web page in either Code view or in HTML view. The Find and Replace feature searches the actual HTML code on the Web page as the code appears when the Web page is saved to the file system.

Do not use the Find and Replace feature to perform bulk find and replace operations on your whole Web site based on how the code appears when you work with Web site content in HTML view. For example, if you apply a theme to Web pages on your Web site without using cascading style sheets, the <body> tag appears on Web pages in HTML view and in Code view as <body>. However, if you locate the Web page by using a Web browser, the <body> tag is displayed differently. The <body> tag may look similar to the following:

<body background="#xxxxxxx"

Therefore, if you use the Find and Replace feature in FrontPage 2002 to search for the <body> tag, you may not find all the Web pages that contain the <body> tag. This behavior is by design. To work around this behavior, search for the <body tag instead of the <body> tag in Web pages on your Web site.

For more information about how to use the Find and Replace feature to find and replace text in a Web page or on a Web site, see FrontPage 2002 Help. To do so, on the Help menu, click Microsoft FrontPage Help. In the Answer Wizard or in the Office Assistance, type find and replace text, and then click Search to view the topics that are returned.

Modification Type:MajorLast Reviewed:2/25/2004
Keywords:kbinfo KB835471 kbAudITPRO kbAudEndUser