Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable automatic links coloring without selecting a color?

Tags:

css

this is really confusing, i don't want the browser to change the color of links, so the links color will stay same as specified in <font> . i know that i can specify a color with the property A:link , but that's not what i want.

Thanks

like image 891
CodeOverload Avatar asked Feb 05 '10 02:02

CodeOverload


1 Answers

If you don't want any coloration just do something like this:

a, a:hover, a:visited, a:active {   color: inherit;   text-decoration: none;  } 
like image 64
simaofreitas Avatar answered Sep 30 '22 16:09

simaofreitas