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

CSS – Any Tip to remove the space?

I need help to remove space above the navbar
img

My HTML code:
https://pastecode.io/s/uia7zv3t

My CSS code:
https://pastecode.io/s/ba5qtpmp

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

>Solution :

Your .container class has 30px margin top and bottom, I believe that’s what you meant.

Anyway, your body also has a margin you should reset, and you should use tag in body to load CSS, but it should be moved to instead.

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