FP2000: How to Remove Underlines from Hyperlinks

ID: Q240972


The information in this article applies to:
  • Microsoft FrontPage 2000


SUMMARY

This article describes how to remove an underline from a hyperlink in FrontPage 2000 by editing the HTML source code for the hyperlink.


MORE INFORMATION

Microsoft Technical Support will not resolve problems produced by editing the HTML that FrontPage generates. This HTML Code sample is provided as a convenience for authors seeking to extend the capabilities of FrontPage. For more information about writing HTML, please see the following Microsoft Web site:

http://www.microsoft.com/workshop/c-frame.htm#/workshop/author/default.asp

WARNING: ANY USE BY YOU OF THE HTML PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

To remove the underline from a hyperlink, you must use the text-decoration cascading style sheet (CSS) attribute to the hyperlink. To do this, follow these steps:
  1. In FrontPage, click the HTML tab at the bottom of the FrontPage window.


  2. Locate the code that looks similar to the following:
    
    <a href="http://www.hyperlink.com">underlinedhyperlink</a> 


  3. Insert the style tag with the text decoration=none attribute after the anchor tag, so that your code looks similar to the following:
    
    <a style="text-decoration: none" href="http://www.hyperlink.com">nonunderlinedhyperlink</a> 


  4. On the File menu, click Save.


These steps only remove the underline from a single hyperlink. You can remove the underline from all hyperlinks in a page by adding a <STYLE> section to the page.

To remove the underline from all hyperlinks on a page, follow these steps:
  1. Open the page you want.


  2. Click the HTML tab.


  3. Place the following HTML code before the <BODY> tag:
    
    <STYLE>
    A	{text-decoration: none;}
    </STYLE> 


  4. Click the Preview tab.


Your hyperlinks no longer contain underlines.

Additional query words: fp2k

Keywords : kbdta
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: October 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.