Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to remove underlines from hyperlinks in FrontPage 2002


View products that this article applies to.

Summary

This article describes the prefered method for removing the underline from a hyperlink in Microsoft FrontPage 2002.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

Removing the Underline from a Single Hyperlink

There are two ways to remove the underline formatting from a hyperlink:
  • Use the Underline button on the Formatting toolbar.
    1. Select the hyperlink from which you want to remove the underline.
    2. On the Formatting toolbar, click the Underline button.

      The hyperlink will no longer be underlined.
  • Use the text-decoration cascading style sheet (CSS) attribute.
    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://Example.Microsoft.Com">underlinedhyperlink</a>
      						
    3. Insert the style tag with the style="text-decoration:none" attribute in the anchor tag, so that your code looks similar to the following:
      <a style="text-decoration:none" href="http://Example.Microsoft.Com">nonunderlinedhyperlink</a>
      						
    4. On the File menu, click Save.

Removing the Underline from All Hyperlinks

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 to modify.
  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.

↑ Back to the top


Keywords: KB293172, kbhowtomaster, kbconfig, kbformat

↑ Back to the top

Article Info
Article ID : 293172
Revision : 3
Created on : 6/18/2005
Published on : 6/18/2005
Exists online : False
Views : 196