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.
Marmiz
2
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
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Portfolio Problem Pt 2 | 3 | 709 | June 29, 2018 | |
| Nav bar top of screen | 6 | 5898 | August 11, 2018 | |
| Build a Technical Documentation Page - Task 15; nav-bar | 2 | 404 | October 20, 2020 | |
| Product Landing Help needed | 13 | 998 | April 17, 2020 | |
| Fixed position issue | 13 | 8029 | July 3, 2021 |