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

Yuki W
Yuki W
3,031 Points

I cant find out the answer of this task. Please Help!

Select the unordered list nested inside the nav element. Remove the margins on the top and bottom. Set the margins on the left and right to 10px.

nav{ margin: 0px 10px; }

I added this,but its not seems correct.

2 Answers

Anton Bozhinov
Anton Bozhinov
12,381 Points

You probably should use a decendant selector to select the ul inside the nav element. Try : nav ul {margin: 0 10px};

Hope that helps! Cheers, Anton

Yuki W
Yuki W
3,031 Points

Thank you sooo much! It was done. :)