View Full Version : a:link general question

10-15-2008, 10:39 PM
I was having a problem getting an a:link in stylesheet to work properly in IE7 and found that if I used a, a:link rather than just a:link that it worked. Evidently this is just an IE issue because I didn't have a problem with Firefox. I only tried the a, a:link because I saw it in another stylesheet and thought I'd give it a try. Couldn't find any reference to it in any of my usual tips and tricks. Just wondered if someone knew of some guidelines on this rule.


10-16-2008, 07:14 AM
I'm not sure what you've done there. I'venever had the need to add a, a:link...

<style type="text/css">
a:link {color: #FF0000}
a:visited {color: #00FF00}
a:hover {color: #FF00FF}
a:active {color: #0000FF}

This is all you should need.
have you checked it in FireBug? maybe you're having to over-ride some inherited style from somewhere?

Linkage ?


d a v e
10-16-2008, 05:11 PM
don't forget
a:focus usually between hover and active