How to change links in CSS?

How to change links when I have CSS ?

  • I have an outside-linked CSS for the page below. I am making a nav at the top, and I don't want the links below the bolded words to be ruled by the css. How do I fix the problem ? http://www.freewebs.com/mandeykayy/images.htm I want the "One - Two" to have that style, but not the rest of the links. [ : Thanks!

  • Answer:

    In your CSS file, if you do something like: .nav a { color: red; } it will only apply to links in the "nav" section, because you have given that div element a class of "nav". Changing the color of visited links is done with the :visited pseudo-class, e.g.: .nav a:visited { color: green; }

Mandaa Pandaa at Yahoo! Answers Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.