Currently my nav menu's drop down portion is being hidden behind the javascript slider I have directly below it. See the problem here. How can I have the drop down menu display over the slider?
Here is some of the CSS for the two divs that contain the respective nav menu and slider.
Nav Menu:
#nav {
width:1024px;
height:20px;
border-bottom:1px solid #ccc;
}
Slider:
#slider {
width:1024px;
height:300px;
background: #353A33;
padding-bottom:5px;
}
Any ideas?
Try adding a z-index
to your .dropdown
class:
/* Navigation Style */
.dropdown {
position:relative;
font-family: arial, sans-serif;
height:50px;
width:100%;
font-size:14px;
color:#ffffff;
background:#353A33;
z-index:1000;
}
use position:absolute with highest z-index on your nav
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With