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
Casey Siebels
783 PointsWeird space in Navigation
On my top navigation bar there is a weird small gap. I'm wanting the navigation bar to by line: http://port-80-2bbts8g40g.treehouse-app.com/webdesign.html
Suggestions?
I've tried changing padding, margins but can't seem to fix it
2 Answers
Erik Nuber
20,629 Pointsheader nav {
text-align: center;
/* padding: 10px 0px; */
margin: 20px 0px 0px;
}
just remove the padding and the bar goes away underneath.
or
header nav {
text-align: center;
padding: 10px 0px 0px ;
margin: 20px 0px 0px;
}
Casey Siebels
783 PointsOnce again thank you!!