Help and Support
 

powered byLive Search

FP97: Replace Command May Alter Hyperlinks

Retired KB ArticleThis 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.
Article ID:159436
Last Review:August 10, 2001
Revision:1.0
This article was previously published under Q159436
On This Page

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.

Back to the top

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.

Back to the top

WORKAROUND

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

Back to the top

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.

Back to the top

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.

Back to the top

STATUS

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

Back to the top

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:
   <a href="default.htm">homepage</a>
				
If you then search for the word "page" and replace it with the word "front," the HTML code would be converted to this
   <a href="default.htm">home</a>front
				
In contrast, if you typed Welcome homepage for the text to use as the hyperlink, the HTML code would look similar to:
  <a href="default.htm">Welcome HomePage</a>
				
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.
   <a href="default.htm">Welcome FrontPage</a>
				

Back to the top

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/)

Back to the top


APPLIES TO
Microsoft FrontPage 97 Standard Edition

Back to the top

Keywords: 
kbprb kbusage KB159436

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.