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 Styling Web Pages and Navigation Create a Horizontal List of Links

Using the same selector as the previous step, remove the bullet points and remove the padding on the unordered list.

I'm stuck ! Any help ?

3 Answers

Adam Moore
Adam Moore
21,956 Points
nav ul{
  margin: 0 10px;
  padding: 0;
  list-style: none;
}

Setting the padding: 0 removes any padding, and the bullet points are part of the list-style, so you can set them to none to remove them.

Thanks for the help :)

Adam Moore
Adam Moore
21,956 Points

No problem! Glad I could help! :)

Can you post your code? That would make it easier for us to see what might be going wrong for you.

Irfan Setiadi
PLUS
Irfan Setiadi
Courses Plus Student 2,638 Points
nav ul {
  margin : 0 10px;
  list-style : none;
  padding: 0;
}

I had this wrote down and it keeps saying task 1 is correct. So I broke down and looked up the coding answer and i have this exact code written verbatim. Help?