jQuery的-UI的自动完成不显示良好,z-index的问题 [英] jQuery-UI's autocomplete not display well, z-index issue

查看:256
本文介绍了jQuery的-UI的自动完成不显示良好,z-index的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在实施我的客户网店jQuery用户界面的自动完成。现在的问题是:自动完成驻留在元素,具有较高的z-index则自动完成的z-index的。我试着手动设置自动完成的z-index,但我有一个jQuery UI的是覆盖这个感觉。

I'm currently implementing jQuery UI's autocomplete in my clients webshop. The problem is: the element the autocomplete resides in, has a higher z-index then the z-index of the autocomplete. I tried setting the autocomplete z-index manually, but I've got the feeling that jQuery UI is overwriting this.

其实我的问题是<一个副本href=\"http://stackoverflow.com/questions/4764710/autocomplete-suggestion-list-wrong-z-index-how-can-i-change\">autocomplete建议列表错误的z-index,我怎样才能改变?,但由于没有回答我想过给它的另一个尝试。

In fact my question is a duplicate of autocomplete suggestion list wrong z-index, how can i change?, but since there was no answer I thought about giving it another try.

欢迎任何帮助!

的Martijn

推荐答案

为什么不使用的的z-index 的和的!重要的?

Why not using z-index and !important ?

.ui-autocomplete { position: absolute; cursor: default;z-index:30 !important;}  

这篇关于jQuery的-UI的自动完成不显示良好,z-index的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆