Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to disable the link's underline?

Posted on 1998-11-23
1
Medium Priority
?
806 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
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 transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

670 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