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

Nav is nested inside the header.

When I use background:none, the nav should form part of the header. Which it doesn't. Instead it is below the header, when in fact the nav is nested in the header. What am I doing wrong and how can I fix this?

Kind regards, Reg.

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 91,254 Points

Hi Reginald,

Unfortunately, we can't do a lot without the code you're using. Can you post it to the forum using markdown (see the cheatsheet below) and we can have a look :)

1 Answer

Here's a snapshot of my workspace. http://w.trhou.se/sjc4gzkjkf

I've been stuck for days!