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 trialMichael Lorenzana
12,029 Pointsi have padding top and bottom nav li set to 15px and it is still not working.
I have the values set properly but still not letting me continue. Please help
4 Answers
Michael Lorenzana
12,029 PointsYes it was the wrong selector the whole time. Thank you
Michael Lorenzana
12,029 Pointsnav li { padding: 15px 10px; } saying top and bottom need to be set to 15px, but have it set already.
Nurul Ahsan
2,039 PointsHello Michael Lorenzana, nav li { padding:15px; /* it means top:15px, right:15px, bottom:15px, and left:15px */ } If you want to top and bottom then should write. padding: 15px 0 15px 0;
Michael Lorenzana
12,029 PointsThank you for your reply. Although I do think it is the selector, because the values for top and bottom and left and right can be called with padding: 15px 10px;. It says make top and bottom 15 px and left and right 10 px. I think it is the selector, but it is telling me to call the list in the nav element. I'll double check it may be nav a instead of nav li.
Nurul Ahsan
2,039 PointsNurul Ahsan
2,039 PointsI think selector is not correct .