Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialArikaturika Tumojenko
8,897 PointsAll my links are blue and won't change color no matter what I do.
I am using my code in Notepad++ and although it's identical to Guil's, my links won't turn orange. This is the code:
a:link { color: orange; }
a:visited { color: lightblue; }
All links are blue and they won't change color no matter what I do. I tried Developers Tool and I couldn't understand what's the problem.
Here's how my code looks like.
3 Answers
Matt Coston
18,425 PointsThis works with my Chrome browser. What browser are you using?
Yu WANG
724 Pointsthanks for your answers, I've met the same problem and I got stuck, now I know why ;-)
Michael Culler
7,363 Pointsall my links were orange....i clicked on ONE of them and they ALL turned light blue
Matt Coston
18,425 PointsMatt Coston
18,425 PointsHave you clicked your links already? Your browser may have kept a cache of the site already and shows all the links as visited. I like to try to use /* mouse over link */ a:hover { color: #FF00FF; } to test these things as well.
Arikaturika Tumojenko
8,897 PointsArikaturika Tumojenko
8,897 PointsI found out what the problem was. It's the fact that all links are null links (with the "href="#" form). I changed them to real links and evertyhing works fine now. Thx :).