The dropdown menu of my blog gets behind the image slider on the main page. http://allfacebookgames.blogspot.com/
How do I avoid it so the the dropdown menu is not covered?
For your information, the dropdown menu does not require any javascript and solely depends upon css. Thank you.
This will fix it:
#menu-wrapper {
position: relative;
z-index: 40;
}
To show that it works: http://www.csspivot.com/t0Sj3
在#menu-wrapper
规则上设置position:relative
和z-index:9999
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.