Microsoft KB Archive/159436

= FP97: Replace Command May Alter Hyperlinks =

Article ID: 159436

Article Last Modified on 8/10/2001

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition

-



This article was previously published under Q159436



SYMPTOMS
In FrontPage Editor, when you use the Replace command, replaced text that was at the edge of a hyperlink anchor will no longer be included in the hyperlink.



CAUSE
When text is inserted by the Replace command, it is not given Hyperlink properties unless the replaced text is surrounded by characters that are part of an anchor tag.



WORKAROUND
To work around this behavior, use either of the following methods:

Method 1: If some hyperlink remains
If text that anchors a hyperlink has been replaced, but there is still a hyperlink on the adjacent text:
 * 1) Highlight both the replaced text and the remaining text (the text within the hyperlink).
 * 2) On the Edit menu, click Hyperlink Properties.
 * 3) Click OK.

Method 2: If the hyperlink is all gone
If text that anchored a hyperlink has been replaced and the hyperlink is no longer present, you must re-create the link.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
When text is given hyperlink characteristics, it is surrounded by HTML anchor tags  and . For example, if you type the following text

homepage

and make it a hyperlink to the page "default.htm," the HTML code will resemble the following: homepage If you then search for the word "page" and replace it with the word "front," the HTML code would be converted to this homefront In contrast, if you typed Welcome homepage for the text to use as the hyperlink, the HTML code would look similar to: Welcome HomePage If you search for the word "Home" and replace it with the word "Front," the hyperlink anchor is unchanged, because the replaced text was surrounded by anchor text. Welcome FrontPage

<div class="references_section">