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

Alex Pascoe
Alex Pascoe
1,595 Points

Nav wrapping under itself

Hi everyone,

I know that this is happening with Nick's demo page in the video's (even though he doesn't address it), but how can the wrapping of the nav (under itself) be prevented?

Vlad Legkowski
Vlad Legkowski
9,882 Points

Not sure what you mean, code would help, but if i had to guess, try to play with your paddings for li items, I say try to make it smaller

1 Answer

Sydney Bowman
Sydney Bowman
6,544 Points

Usually it is the result of the font size being too large or their is too much padding on the individual nav items. When these are too large it will cause some space issues and everything that can't fit on that one line will drop to the second line.