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

It keeps telling me to set the font-size to 0.9em but it's there. HELP

HERE'S MY CODE, I'm obviously missing something.

nav ul .contact-info { font-size: 0.9em; list-style: none; margin: 0 0px; padding: 0;

2 Answers

Hi Brian,

I'm trying to remember the task but can you try removing the space before .contact-info? e.g.

nav ul.contact-info { font-size: 0.9em; list-style: none; margin: 0 0px; padding: 0;}

If that doesn't help, can you include a link to the challenge please and I'll take a look?

Thanks

-Rich

Hi Brian,

You have:

nav ul .contact-info {}

whereas I added the following (notice the space between ul and .contact-info in your code):

nav ul.contact-info {}

-Rich

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,863 Points

Hey Brian,

The challenge is just asking to style the ul element with the class of .contact-info, so all you need is

.contact-info {
  font-size: 0.9em;
  margin: 0;
  padding: 0;
  list-style: none;
}

:)

after the nav ul is where it should start right?

add it after the nav ul though right?

Jason Anders
Jason Anders
Treehouse Moderator 145,863 Points

If I remember correctly, yes.

It is much easier if you link from the challenge you are having problems. For future reference, just click on the "Get Help" from the challenge/quiz you are working on and follow the directions. It will then post directly to the forum with a direct link to where you are in the course.

:)

Jason Anders
Jason Anders
Treehouse Moderator 145,863 Points

The code I posted should be by itself and not attached to any other selector, so if you mean

nav ul {
/* some styles here */
}

.contact-info {
 /* code I posted here */
}

Then yes, after that.