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
mrx3
8,742 PointsHaving some trouble removing white space between my navigation bar and my content.
I've been trying to remove the whitespace between my navigation bar and my content. I would like them both to "but" up to each other with no space between them. I have tried adjusting the various margins with no luck. My code pen link is pasted below. Anyone that can help me with this I would really appreciate it. Thanks in advance.
2 Answers
Patryk Nowak
14,103 PointsYou forget about unordered list in the <nav> :)
.nav ul {
margin-bottom: 0;
}
mrx3
8,742 PointsThank you so much Patryk I really appreciate it. It works great now. Thank you!!!!