Befuddled. navbar help?

I thought I understood how to create a fixed navbar…

#navbar { position: fixed; top: 0; }

But I am not getting that result. Does anyone have time to take a look at my code and see what I’m doing wrong?

I really should be working on other elements of this page lol, but I can’t let it go.

Thank you.

It seems to be working fine for me:

separate the nav bar from your background class div

<div class="background">
</div>
  <nav id="navbar"> </nav>

try this way, it will work , you should more concern about your html code structure when their nesting :blush:

1 Like

Thank you! That helped. I was trying to use background images the way I did in a previous project. I took out that those divs and modified my section ids instead.