Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • thanks but, don't I need the 'link' part below? text2 a:link { color: #ffffff; } anyway, with or without 'link', it's not working for me.
    – conspirisi
    Commented Oct 5, 2009 at 14:25
  • No, unless you were specifying a separate colour for the different link states; then you'd need a rule for a:link, a:hover, a:visited and a:active. The fact that it's not working sounds like a specificity issue to me - think about where else in your CSS you are specifying link colours (which could be overriding it).
    – Mark Bell
    Commented Oct 5, 2009 at 14:28