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 Responsive Web Design and Testing Adjust the Profile Page and Header

Vertically aligning the nav links:

How did nick vertically align the the nav links in the header on this video?

2 Answers

Danny Gibas
Danny Gibas
3,138 Points

Do you mean Horizontally align?

Try display: inline-block; on the List items.

Ana Gledovic
Ana Gledovic
7,465 Points

Yeah, I checked in my workspace, that is how I wrote while watching this course, so I guess Nick did that way too.

http://codepen.io/anon/pen/AhleK

Here is the code, I can't get the nav links to center vertically in the header. How should I accomplish this?