Web Hosting, Design, & Coding forum


How Do I Get Rid Of Pesky Link Underline AND Change Color?

by In-Correct / March 25, 2013 2:27 PM PDT

This should be an easy question for you to answer.

I am using a low quality editor. Amaya. (Do you recommend any alternatives?)

A few parts of my website are in Basic HTML. The design is white text on red highlighted background. I do not want the link to change color to blue and I don't want it underlined. Not in blue and not in white either. I prefer it to be not underlined and I want the text to stay white.

Is this possible? or should I try to design an image for the hyperlinks instead?

Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: How Do I Get Rid Of Pesky Link Underline AND Change Color?
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: How Do I Get Rid Of Pesky Link Underline AND Change Color?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Clarification Request
Are you familiar with CSS?
by Sovereign Forum moderator / March 26, 2013 3:12 PM PDT


Collapse -
by In-Correct / March 27, 2013 7:23 AM PDT


All Answers

Collapse -
CSS to set color and style of link
by Sovereign Forum moderator / March 27, 2013 11:30 PM PDT

a, a:visited {
color: #000;
text-decoration: none;

The color sets the color and the text decoration removes the underline for visited and unvisited links.

If you want to slightly adjust the color when the user's mouse is over the link, you can use this:

a:hover {
// style here


Popular Forums
Computer Help 49,613 discussions
Computer Newbies 10,349 discussions
Laptops 19,436 discussions
Security 30,426 discussions
TVs & Home Theaters 20,308 discussions
Windows 10 360 discussions
Phones 15,802 discussions
Windows 7 7,351 discussions
Networking & Wireless 14,641 discussions


Big screens for the big game

Still looking for the best TV deals ahead of Sunday's game? Here are our top three big screen picks.