简体   繁体   中英

My fixed navbar doesn't work properly

I made a fixed navbar, but when I scroll you see the navbar behind the other images. I don't know what I am doing wrong. Here is a link with the navbar (it supposed to fit in the white bar but in Dreamweaver it all looks good).

So I want the fixed navbar that scrolls over all the divs. Please help. Thanks

Could you use in your CSS the z-index property?

Like so:

z-index:999;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM