这就是autcomplete现在显示结果的方式。 它在搜索栏后面。有可能把它放在上面。另外,我想要设计它。有人可以提供一些样式参考。样式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;
}
u能提供一些代码或乌尔网页URL – airi
一些代码将是首先要弄清楚一个潜在的问题有帮助。 – ltalhouarne
我们很乐意看到代码。你有没有尝试设置'z-index'? – hjpotter92