How to remove underlines from hyperlinks that use FrontPage 2003

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

For a Microsoft FrontPage 2002 version of this article, see 293172.
For a Microsoft FrontPage 2000 version of this article, see 240972.


This article describes the preferred method for removing the underline from a hyperlink in FrontPage 2003.

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.

How to Remove the Underline from a Single Hyperlink

There are two ways to remove the underline formatting from a single hyperlink:
  • Use the Underlinebutton on the Formattingtoolbar. To do this:
    1. Select the hyperlink where you want to remove the underline.
    2. On the Formattingtoolbar, click the Underlinebutton.

      The hyperlink will no longer be underlined.
  • Use the text-decoration cascading style sheet (CSS) attribute.
    1. In FrontPage 2003, click the Codetab at the bottom of the FrontPage window.
    2. Locate the code that looks similar to the following code:
      <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 code:
      <a style="text-decoration:none" href="http://Example.Microsoft.Com">nonunderlinedhyperlink</a>
    4. On the Filemenu, click Save.

      The hyperlink will no longer be underlined.

How to Remove 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 that you want to modify.
  2. Click the Codetab.
  3. Put the following HTML code before the <BODY> tag:
    <STYLE>A {text-decoration: none;} </STYLE>
  4. Click the Designtab.

    Your hyperlinks no longer contain underlines.
OfficeKBHowTo fp2003

Article ID: 825543 - Last Review: 01/06/2006 22:49:42 - Revision: 4.3

Microsoft Office FrontPage 2003

  • kbprogramming kbhowtomaster KB825543