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 trial

CSS How to Make a Website Customizing Colors and Fonts Use Color in CSS

nav a, nav a; visited;

When I applied this last line of code, the navigation links went back to the background color. Why is that?

2 Answers

try this! you have a semicolon between the a and the visited. It should work with a colon!

nav a, nav a:visited { color: #fff;
}

Thanks. I have a feeling I'm going to get hung up on the little things...

Hi Tage!

Please could you provide your code for me to take a look at?

a { text-decoration: none; }

wrapper {

max-width: 940px; margin: 0 auto; padding: 0 5%; }

logo {

text-align: center; margin: }

a { color: #e2b47b; }

header { background: #e2b47b; border-color: #a3b67b; }

h1, h2 { color: #fff; }

nav { background: #62b33b; }

nav a, nav a;visited { color: #fff; }