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

HTML How to Make a Website Styling Web Pages and Navigation Create a Horizontal List of Links

Vladimir Melnychenko
Vladimir Melnychenko
1,689 Points

How to make a website. 4/4 Top padding for navigation links should be 15px.

It seems to be a bug in the system. I can't get through. Please check the code. Here's the screenshot: http://www.4shared.com/download/tzE4M96aba/Screenshot_at_нояб_30_16-23-35.png?sbsr=ba88df7f3b938a4e7e087b6f8f957d5295b&lgfp=3000

2 Answers

Adam Sumner
Adam Sumner
36,695 Points

Hi Vladimir,

It looks like you need to target the anchor rather than the list item. i.e.

nav ul li a {
  padding: 15px 10px;
}
Vladimir Melnychenko
Vladimir Melnychenko
1,689 Points

Thank you Adam, links and lists somehow mixed in my head :)