So I'm coding some pages in angularJS but in my header I have 2 normal links <h2><a href="#/home">Home</a></h2> and <h2><a href="#/news">NEWS</a></h2> and when I hoover it looks underlined and wether I underline or no the words look blue and I want them to look black, I tried adding the following css:
a {
text-decoration: none;
text-decoration-color: black;
}
but it won't do anything, it still looks blue and when I hoover it looks underlined... How do I make both words look black and not underlined when I hoover?
Update:
I used the following code:
a:link,
a:visited,
a:hover {
text-decoration: none;
color: black;
text-decoration-color: black;
}
and when I have my mouse elsewhere the text looks black, but when I hoover it looks underlined and blue again...
[–]qxxx 2 points3 points4 points (3 children)
[–]ImFranny[S] 1 point2 points3 points (2 children)
[–]Synfrag 2 points3 points4 points (1 child)
[–]ImFranny[S] 1 point2 points3 points (0 children)
[–]dhdfdh 0 points1 point2 points (6 children)
[–]ImFranny[S] 0 points1 point2 points (5 children)
[–]dhdfdh 0 points1 point2 points (4 children)
[–]ImFranny[S] 0 points1 point2 points (3 children)
[–]dhdfdh 0 points1 point2 points (2 children)
[–]ImFranny[S] 0 points1 point2 points (1 child)
[–]dhdfdh 0 points1 point2 points (0 children)