2014-02-13 144 views
0

这就是autcomplete现在显示结果的方式。 enter image description here 它在搜索栏后面。有可能把它放在上面。另外,我想要设计它。有人可以提供一些样式参考。样式jQuery自动完成结果

下面是头容器

.header-container { 
position: fixed; 
top: 0; 
background-color: #1E1E1E; 
width: 100%; 
z-index: 2000; 
height: 42px; 
} 

代码而这对于搜索输入:

#header-search-input { 
background-image: url(images/search.png); 
background-repeat: no-repeat; 
font-size: 12px; 
-moz-border-radius: 3px; 
border-radius: 3px; 
color: #424A61; 
border: none; 
font-size: 14px; 
height: 22px; 
width: 355px; 
position: absolute; 
top: 9px; 
overflow: hidden; 
right: 40%; 
padding-left: 25px; 
} 
+0

u能提供一些代码或乌尔网页URL – airi

+0

一些代码将是首先要弄清楚一个潜在的问题有帮助。 – ltalhouarne

+0

我们很乐意看到代码。你有没有尝试设置'z-index'? – hjpotter92

回答

0

确定我通过改变z索引到2由AIRI所建议固定它。虽然,我真的不知道它是如何解决问题的。