Satch Posted June 21, 2016 Share Posted June 21, 2016 I want to use a fixed navigation bar (w3-top),but with a dropdown. I picked up the dropdown code from the "Open Nav Pane Hiding Part of Content" (w3-sidenav) code on the sidenav page. The problem i have is that when the menu (fairly long) was opened in the browser, it had a scroll bar attached to the menu. In the w3-top nav dropdown, i get the dropdown menu as i want it but no scroll bar is attached, so people can't see (or reach) the bottom of the dropdown. Any ideas on how to add the scrollbar to the w3-top dropdown? Thanks Satch Link to comment Share on other sites More sharing options...
Ingolme Posted June 21, 2016 Share Posted June 21, 2016 I think if you set a max-height on the dropdown element it will have have a scrollbar. Link to comment Share on other sites More sharing options...
Satch Posted June 22, 2016 Author Share Posted June 22, 2016 I tried the max:height and it didn't work... Link to comment Share on other sites More sharing options...
Ingolme Posted June 22, 2016 Share Posted June 22, 2016 Show the code you used. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now