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

CSS How to Make a Website Styling Web Pages and Navigation Build Navigation with Unordered Lists

Adam McIntyre
Adam McIntyre
460 Points

Extra line under navigation

Hey everyone, I'm tearing my hair out trying to figure out where I've gone wrong, and I'm wondering if anyone can point me in the right direction.

I've been following along with the tut and for some reason my project now looks different, I have an extra layer under the nav: http://cl.ly/image/2D3m1c163810

and I really don't know why :/

If anyone could assist I would be incredibly grateful - Thanks!

3 Answers

Laura Cressman
Laura Cressman
12,548 Points

Hi Adam, Without seeing your code, I'm guessing it has something to do with the margin or padding properties of the navigation or possibly header. It might be worthwhile to compare what you have for those properties specifically to what is given in the project files, which can be downloaded by clicking "Project Files" on the right hand side next to the video. If you would like me to try to help further, please post your CSS and I'll take a look :)

Adam McIntyre
Adam McIntyre
460 Points

Thanks Laura Cressman , I will look at that now! :D

Laura Cressman
Laura Cressman
12,548 Points

You're welcome, but it seems like you did all of the legwork :) Glad you found that bug though!