What's new

How to remove Link Underlining

McStormify

Expert Talker
PF Member
Messages
836
Reaction score
0
Points
602
Peak Coin
0.000000
Hi guys, today I'll be showing you how to remove the underlining in a link. It is extremely simple. Look in your CSS. If you have a code which looks like this:

Code:
a:link{

[align=center]or[/align]

Code:
a:visited{

[align=center]or[/align]

Code:
a:hover{

[align=center]or[/align]

Code:
a:active{

Then all you have to do is put this underneath it:

Code:
text-decoration: none;

If you don't have those codes in your CSS already, then insert them along with your colors. It should look like this:

Code:
a:link {
color: YOUR LINK COLOR HERE;
text-decoration: none;
}

a:visited {
color: YOUR VISITED LINK COLOR HERE;
text-decoration: none;
}

a:active{
color: YOUR ACTIVE LINK COLOR HERE;
text-decoration: none;
}

a:hover{
color: YOUR HOVER LINK COLOR HERE;
text-decoration: none;
}

Remember to replace the "YOUR LINK COLOR HERE" with your HTML color codes.

Thanks,
McStormify
 
Back
Top