So I can’t seem to get my nav bar to stay fixed if i use the selector #nav-bar. But if I change the selector to ul it works. The posted code has it as I want it to look but the css code wont let the test pass. Changing the selector to #nav-bar changes the list style type back to bullets. I am stuck on this and have yet to finish the rest of the page.
Why just not giving the position
property to #nav-bar
while keeping the rest as is?
I guess should work .
Also I’m curious, what was the original reason on giving a fixed position to the ul
instead of nav
?
Hope it helps