Home > Web Front-end > HTML Tutorial > Ask a question about the drop-down menu controlled by css_html/css_WEB-ITnose

Ask a question about the drop-down menu controlled by css_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:25:35
Original
1100 people have browsed it

css drop-down menu

I am adding a drop-down menu to a website and controlling it through css. After clicking the navigation column on the homepage, the drop-down menu can be displayed normally and jump to the corresponding page, but in other column pages When clicking the navigation column, the drop-down menu is also displayed, but the displayed layer is below, so that when the mouse is pulled down, it cannot jump to the corresponding page. How to solve this situation?


Home page displayed normally

Display of other pages

Display of other pages

Reply to discussion (solution)

Set the z-index attribute so that the menu is at the top

Set the z-index attribute so that the menu is at the top
After setting this attribute, the debugging has been successful, thank you!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template