First item in navigation has top-padding in CSS Posted March 23, 2020 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!
First item in navigation has top-padding
in CSS
Posted
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!