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

Catalin Sucigan
Catalin Sucigan
15,563 Points

Can't pass the 4th step of the challange (bug maybe)

I have to give a padding of 15 px on the top and bottom and a padding of 10 px on right-left. entering " nav li {

padding:15px 10px; }" and it's still telling me that i need to have a top padding of 15 px.

1 Answer

Please try giving value separately like Padding-top:15px;

Catalin Sucigan
Catalin Sucigan
15,563 Points

Seems that I'm a bit too tired. Didn't read correctly. Had to stule the link not the list. Thank you for your time anyway :)