?
Solved

link underline

Posted on 1999-07-13
7
Medium Priority
?
293 Views
Last Modified: 2012-05-04
how do you control whether a link is underlined or not?
0
Comment
Question by:boaty
[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
  • 4
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
tinsi earned 80 total points
ID: 1851874
A {
      text-decoration: none
}

or:

A {
      text-decoration: underline
}

in your style sheet.
0
 

Author Comment

by:boaty
ID: 1851875
So this controls A hrefs?
0
 
LVL 1

Expert Comment

by:tinsi
ID: 1851876
yes. if you have your html like this:

<a href="link.html">this is a link</a>

and your style sheet like this:

A {
       text-decoration: none
       }

the links will have no underlining.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:tinsi
ID: 1851877
yes. if you have your html like this:

<a href="link.html">this is a link</a>

and your style sheet like this:

A {
       text-decoration: none
       }

the links will have no underlining.

0
 
LVL 1

Expert Comment

by:tinsi
ID: 1851878
uops, sorry 'bout the double comment there :)


0
 

Author Comment

by:boaty
ID: 1851879
So this controls A hrefs?
0
 

Author Comment

by:boaty
ID: 1851880
Thanks!
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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 …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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…
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…

718 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