Jump to content
Sign in to follow this  

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!




Share this post

Link to post
Share on other sites

You might have some conflicting styles in there. Can you paste your stylesheet in a code block?


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...