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 trialJordan Meek
480 PointsHow do I get my nav bar wider?
Just need to make my nav bar wider. It's a lot thinner than Nick's and I can't figure out why that is.
1 Answer
Kent Åsvang
18,823 PointsYou can use "width" to adjust the width of an html-element. Depending on various ideas you also have max-width and min-width to choose from. I think nick is using "max-width: 100%;" in that lesson.
If this doesn't work it would be helpful if you could provide your CSS-code for us to review.
Good luck.