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 trialfoobarbaz
4,977 PointsIt seemed like when I typed nav { color: #fff; } even when I would visit the link it would stay white.
Was it really necessary to add nav a:visited to keep the links white? They didn't change even if I visited them before I added that piece of code.
1 Answer
Austin Whipple
29,725 PointsVery likely yes. Different browsers behave differently when dealing with default links styles, but many override any colors not set on the :visited state with purple for visited links.
foobarbaz
4,977 Pointsfoobarbaz
4,977 PointsThanks!