Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blue and Purple Default links, how to remove?

Tags:

html

css

This is one of the links in my nav:

<li><a href="#live-now" class="navBtn"><span id="navLiveNow" class="white innerShadow textShadow">Live Now</span></a></li>

I also have the following in my css:

a { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:focus { text-decoration: none; }
a:hover, a:active { text-decoration: none; }

But the links still display in the awful blue/purple visited /hover html default. What am i doing wrong?

like image 349
panthro Avatar asked Apr 25 '12 09:04

panthro


People also ask

How do I get rid of blue link?

Please call 855-2-BlueLink (855-225-8354) to cancel your subscription.

How do I remove purple links from Google?

The purple entries are from your browsing history. To remove them you probably need to delete your browsing history, and maybe delete and pause your Web & App Activity.

Why did my hyperlink turn purple?

This is default behavior in your browser, which colors “visited” links differently from standard or active links to let you know you have clicked it before. You can disable this behavior or customize the default color in your browser settings.


2 Answers

You need to override the color:

a { color:red } /* Globally */

/* Each state */

a:visited { text-decoration: none; color:red; }
a:hover { text-decoration: none; color:blue; }
a:focus { text-decoration: none; color:yellow; }
a:hover, a:active { text-decoration: none; color:black }
like image 51
Andreas Wong Avatar answered Oct 24 '22 01:10

Andreas Wong


REMOVE DEFAULT LINK SOLVED that :visited thing is css.... you just go to your HTML and add a simple

< a href="" style="text-decoration: none" > < /a>

... thats the way html pages used to be

like image 20
daniel Avatar answered Oct 24 '22 00:10

daniel