Microsoft KB Archive/835471

= 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 =

Article ID: 835471

Article Last Modified on 2/25/2004

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-





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 tag appears on Web pages in HTML view and in Code view as  . However, if you locate the Web page by using a Web browser, the tag is displayed differently. The tag may look similar to the following:

<body background=&quot;# &quot;

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

Keywords: kbinfo KB835471

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.