Nothing seems to be working. I need to get it to float center somehow without messing my layout.
Here is my pen:
https://codepen.io/KobadaTech/pen/NZoBaL
Nothing seems to be working. I need to get it to float center somehow without messing my layout.
Here is my pen:
https://codepen.io/KobadaTech/pen/NZoBaL
I’ve moved my nav to directly under the body element. I also managed to get the nav to lay horizontally accross the top. However, it is now saying the navbar should always be at the top of the viewport. I tried using position:fixed; for nav but that didn’t work either.
On .nav you have a colon after position: fixed, it should be a semicolon.
If you move position: fixed; to the #navbar element it will pass the test. You will have to make some changes to make it look the same.
Thanks mate that done the trick!