Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to align dropdown button with the rest of the navbar

I used the outline of the code from we3schools. My problem is that the button is not level with the navbar.

image example

I couldn’t get the code to align where it would let me publish so here is the github link (it’s an html file with just the navbar and a css file with just the navbar portion in it).

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

LINK: https://github.com/Terrancesky/website/tree/main

>Solution :

Seems everything is fine, You can also check by adding this css

@media screen and (min-width: 600px){
    .topnav {
        display: flex;
        align-items: center;
    }
}
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading