Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 825543 - Last Review: January 6, 2006 - Revision: 4.3
How to remove underlines from hyperlinks that use FrontPage 2003
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 Underline
button on the Formatting
toolbar. To do this:
- Select the hyperlink where 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 2003, click the Code
tab at the bottom of the FrontPage window.
- Locate the code that looks similar to the following code:
<a href="http://Example.Microsoft.Com">underlinedhyperlink</a>
- 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>
- On the File
menu, 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:
- Open the page that you want to modify.
- Click the Code
tab.
- Put the following HTML code before the <BODY> tag:
<STYLE>A {text-decoration: none;} </STYLE> - Click the Design
tab.
Your hyperlinks no longer contain underlines.
APPLIES TO
- Microsoft Office FrontPage 2003
| kbprogramming kbhowtomaster KB825543 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate