...

View Full Version : a:link vs a



student101
06-29-2010, 11:08 PM
Strange one;
Using the first block of code the link wont stay current, yet the second block works?
<a href="#" class="current">Home</a>


a:link {
color:#F60;
text-decoration: underline;
}
a:visited {
color:#F60;
}
a:active {
text-decoration: none;
}
a:hover {
text-decoration: none;
}

a:link.current {
text-decoration: none;
}




a {
color:#F60;
text-decoration: underline;
}
a:visited {
color:#F60;
}
a:active {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a.current {
text-decoration: none;
}

Has this a:link been removed? :confused:

skywalker2208
06-29-2010, 11:32 PM
It should still work. Maybe something else is targeting it.

http://www.w3.org/TR/css3-selectors/#dynamic-pseudos

Apostropartheid
06-30-2010, 12:16 AM
You've probably visited the link without realizing. Setting discrete colours could reveal this to you.

That's a rather large signature you have there. *cough*

student101
06-30-2010, 12:21 AM
That's a rather large signature you have there. *cough*
It's one joke I had to pass around!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum