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 trialJohn Michael McCasland
1,173 PointsVertically aligning the nav links:
How did nick vertically align the the nav links in the header on this video?
2 Answers
Danny Gibas
3,138 PointsDo you mean Horizontally align?
Try display: inline-block; on the List items.
John Michael McCasland
1,173 Pointshttp://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?
Ana Gledovic
7,465 PointsAna Gledovic
7,465 PointsYeah, I checked in my workspace, that is how I wrote while watching this course, so I guess Nick did that way too.