2014-04-10 59 views
0

因此,在我的网页应用程序的主页上,我有一个生日(年/月/日)选择字段,但下拉菜单正在被主页背景的下一部分截断。重叠背景错误?

下面是选择相关的CSS样式:

.selectify .option { 
    background: none repeat scroll 0 0 #FFFFFF; 
    border-top: 0 none; 
    color: #999999; 
    cursor: pointer; 
    padding: 5px 20px; 
} 

和图像:

enter image description here

我怎样才能得到下拉走在次背景部分?

干杯!

+1

没有足够的信息来回答。尝试z-index。 –

回答

1

后报错链接:

.banneroverflow:hidden;风格。这是什么导致它隐藏。 将其从banner的样式中删除。

然后,你有一个类叫做container middel-class。将其更改为middel-class

然后把container INSIDE middel-class。例如:

<div class='middel-class'> 
    <div class='container'> 
    .. <!-- rest of code as normal --> 
    </div> <!-- end of container --> 
</div> <!-- end of middel-class --> 

此外,它middle,不middel,但它并不真正的问题:P

+0

@ user3399101更新了答案! – Albzi

+0

就是这样,谢谢! – user3399101

+1

不用担心!很高兴我能帮上忙! @ user3399101 – Albzi

0

我不能肯定地说没有完全到位的任何代码示例。这错误是某处父DIV几个原因

1)(其中位于下拉列表)您使用溢出:隐藏 - 尝试删除它,看看会发生什么

2)也有可能直接在下拉列表中输入错误的z-index