Microsoft KB Archive/293172

= How to remove underlines from hyperlinks in FrontPage 2002 =

Article ID: 293172

Article Last Modified on 6/18/2005

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q293172





For a Microsoft FrontPage 2003 version of this article, see 825543.



IN THIS TASK

 * SUMMARY
 * Removing the Underline from a Single Hyperlink
 * Removing the Underline from All Hyperlinks



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. back to the top

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.  Select the hyperlink from which you want to remove the underline. On the Formatting toolbar, click the Underline button.

The hyperlink will no longer be underlined.  Use the text-decoration cascading style sheet (CSS) attribute.  In FrontPage, click the HTML tab at the bottom of the FrontPage window.</li>  Locate the code that looks similar to the following: <a href=&quot;http://Example.Microsoft.Com&quot;>underlinedhyperlink</a> </li>  Insert the style tag with the style=&quot;text-decoration:none&quot; attribute in the anchor tag, so that your code looks similar to the following: <a style=&quot;text-decoration:none&quot; href=&quot;http://Example.Microsoft.Com&quot;>nonunderlinedhyperlink</a> </li> On the File menu, click Save.</li></ol> </li></ul>

back to the top

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:  Open the page you want to modify.</li> Click the HTML tab.</li>  Place the following HTML code before the <BODY> tag: <STYLE> A {text-decoration: none;} </STYLE> </li> Click the Preview tab. Your hyperlinks no longer contain underlines.</li></ol>

back to the top

Additional query words: OfficeKBHowTo

Keywords: kbformat kbconfig kbhowtomaster KB293172

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.