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.
Remove the Underline from a Hyperlink
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:- In FrontPage, click the HTML tab at the bottom of the FrontPage window.
- Locate the code that looks similar to the following:
<a href="http://www.hyperlink.com">underlinedhyperlink</a>
- 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>
- On the File menu, click Save.
Remove the Underline From All hyperlinks on a Page
- Open the page you want.
- Click the HTML tab.
- Place the following HTML code before the <BODY> tag:
<STYLE> A {text-decoration: none;} </STYLE>
- Click the Preview tab.