Solved

How to disable the link's underline?

Posted on 1998-11-23
1
791 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 10 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create CSS Animation for Page Transitions 4 38
Multiflying 2 Input Text On a Table 7 31
removing a class in javascript 4 48
Angular won't showing my array result in HTML 3 25
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

856 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