petenorris Posted October 23, 2023 Share Posted October 23, 2023 Hello Forum; Question: How can I set the height in this HOW TO tutorial? https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp I would like to make the navbar more narrow. Thank you in advance. Link to comment Share on other sites More sharing options...
Ingolme Posted October 23, 2023 Share Posted October 23, 2023 In the two places where it says padding: 14px 16px; replace 14px with a smaller number. 1 Link to comment Share on other sites More sharing options...
petenorris Posted October 24, 2023 Author Share Posted October 24, 2023 17 hours ago, Ingolme said: In the two places where it says padding: 14px 16px; replace 14px with a smaller number. Ingolme; Thanks for responding. WOW! It worked. I did, or thought I did, that a couple of days ago. I couldn't get it to work properly then. But it's working now. Thanks again. 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