html - How to prevent navbar from being covered by content during scrolling? -


i building website html , css, , have created navbar, being overlapped content. how fix this? here css code navbar i've created. it's pretty simple , not sure how resolve problem!

 #navbar {     display:block;     position:fixed;     border:2px solid #ff0e9e;     background-color:#ff0e9e;     height:35px;     width:1300px;     margin-top:-20px;     margin-left:-5px; } .nav {     float:right;     font-size:20px;     padding-top:5px;     text-decoration:none; } 

try use:

#navbar{     z-index:99999; } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -