Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to disable the link's underline?

Posted on 1998-11-23
1
Medium Priority
?
808 Views
Last Modified: 2012-08-14
I want to disable the link's underline. Is it possible? Actually, I want to put a link on a image, but I don't want to have the underlink shown.
0
Comment
Question by:yuho
1 Comment
 
LVL 4

Accepted Solution

by:
rafistern earned 20 total points
ID: 1839994
You are asking two separate questions here:

To disable the underline put

style="text-decoration:none;"

in the <a> tag of the link. To disable for all links on the page put

<style>
a {text-decoration:none;}
</style>

in the header. This style will be honored by IE3+ and NS4+ only.


To prevent the blue line around an image containing a link put

border=0

in the <img> tag.

If you have a problem with a small blue line appearing after the the image, then put the <a><img></a> tags all on one line.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question