相关疑难解决方法(0)

在jQuery Cycle幻灯片放映之上的z-index处显示div

我在这里使用jQuery循环插件:http: //www.mitchsflowers.dreamhosters.com/

幻灯片位于相对定位的div中,它包含一个绝对定位的div来保存字幕.这个div位于循环图像的上方,但无论我给出标题div的z-index,图像都隐藏它.

有没有办法让我的标题div高于循环图像?

#homeslides {
    margin:0 auto;
    width:985px;
    height:420px;
    overflow:hidden;
    position:relative;
    padding-top:12px;
}

#homeslideCaptions {
    position:absolute;
    bottom:0;
    width:907px;
    height:57px;
    z-index:2000000;
    background:rgba(0,0,0,0.5);
}
Run Code Online (Sandbox Code Playgroud)

0
推荐指数
1
解决办法
4827
查看次数

标签 统计