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 trialRails Duck
8,545 PointsSolution: If you're having problems with a:link
If you're having any problems with the a:link
selector, then I think I know why. You have probably already visited that link beforehand.
For example, in my case, I had the same problem. I clearly remember me clicking around on this website and all of it's links before I applied this style. That's why it gave the <a>
tags a visited thing. To test this, I wrote the a:visited {color: lightblue;}
in my style.css
file. This gave me exactly what I thought it should give me. So if you're having this problem, this is probably why.
Hope this helps!
1 Answer
Trent Christofferson
18,846 PointsOMG thank you so much!!!! I never thought about that!