I am using one custom control (jQuery cycle plugin, to be specific), and I also have a drop-down menu on my web page. The custom control appears to be above the drop-down menu, which doesn't suit me at all. How can I make my drop-down menu be above everything?
我正在使用一个自定义控件(jQuery循环插件,具体而言),我的网页上也有一个下拉菜单。自定义控件似乎位于下拉菜单上方,根本不适合我。如何让我的下拉菜单超越一切?
1 个解决方案
#1
3
you can use z-index
property. More information at http://www.w3.org/TR/CSS2/visuren.html#z-index
你可以使用z-index属性。有关更多信息,请访问http://www.w3.org/TR/CSS2/visuren.html#z-index
Keep in mind that z-index
works only with positioned elements.
请记住,z-index仅适用于定位元素。
A good "how to use" article about z-index
you can find here.
关于z-index的一篇很好的“如何使用”文章你可以在这里找到。
#1
3
you can use z-index
property. More information at http://www.w3.org/TR/CSS2/visuren.html#z-index
你可以使用z-index属性。有关更多信息,请访问http://www.w3.org/TR/CSS2/visuren.html#z-index
Keep in mind that z-index
works only with positioned elements.
请记住,z-index仅适用于定位元素。
A good "how to use" article about z-index
you can find here.
关于z-index的一篇很好的“如何使用”文章你可以在这里找到。