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 trialAugust Whitlock
5,335 Pointsits says select the nav links and set the top and bottom padding to 15px and the left and right padding to 10px.
Shouldn't it look something like this:
padding: 15px 10px;
or like this
padding: 15px 10px 15px 10px;
Neither or these work.
1 Answer
Abdul Zainos
4,938 Pointsnav ul {
margin: 0 10px;
list-style: none;
padding: 0;
}
nav ul li {
display: inline-block;
}
nav ul li a {
font-weight: 800;
padding: 15px 10px;
}
August Whitlock
5,335 PointsDoh! I choice ul li. OK sorry about that guys. But thanks for the feedback.
tobiaskrause
9,160 Pointstobiaskrause
9,160 PointsYou have to select the "a". To me it seems that you only used nav{} Most of my errors also happen, because I read too fast.