melkor | Wiki powered by Node.js and Git
kandi X-RAY | melkor Summary
kandi X-RAY | melkor Summary
A simple, fast wiki powered by Node.js and Git. View live demo (resets every hour).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of melkor
melkor Key Features
melkor Examples and Code Snippets
Community Discussions
Trending Discussions on melkor
QUESTION
I made a dropdown menu with a bunch of names on it in the nav tag. After the tag I put an main tag. Since these share the top border of main, some of the items overflow the nav and get into the main's space. Now I don't want to use overflow:scroll. I want the items to still show on the main side of the page on hover. I tried to use z-index but I couldn't make it work. Can you guys take a look? Im pretty new to css and html. Thank you. You can find all my code down below. I also added a photo.
...ANSWER
Answered 2021-Mar-08 at 18:51the z-index
works only on positioned elements (anything that is different from position: static
), by adding position: relative
and closing your ul
tag I got this result
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install melkor
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page