Jump to content

First item in navigation has top-padding


Recommended Posts

I am using the exact code from this page(just changed some colors): https://www.w3schools.com/css/tryit.asp?filename=trycss_dropdown_navbar

The problem I have is that the first of item of my list has a top padding (other items of the list don't have it) as seen on the screenshots.

It should look like it does on the preview of the above link.

Does anyone have a solution for this?


Thanks in Advance!




Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...