FP97: Replace Command May Alter Hyperlinks This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
This article was previously published under Q159436 On This PageSYMPTOMS
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 remainsIf text that anchors a hyperlink has been replaced, but there is still a hyperlink on the adjacent text:
Method 2: If the hyperlink is all goneIf 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 <a> and </a>. 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:
If you then search for the word "page" and replace it with the word
"front," the HTML code would be converted to this
In contrast, if you typed Welcome homepage
for the text to use as the hyperlink, the HTML code would look
similar to:
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.
REFERENCES
For information about the HTML markup language, see the World Wide Web
Consortium Web site at:
http://www.w3.org/pub/WWW/MarkUp/ (http://www.w3.org/pub/WWW/MarkUp/)
| Article Translations
|


Back to the top
