z-index的问题
一个层的子层,不管z-index设置成多少,是不是都是隐藏在父层的后面。
如:
<head>
<style>
#a3_1_4 {
height: 505px;
width: 219px;
overflow: hidden;
margin-top:11px;
}
#a3_1_4_1 {
height: 200px;
width: 167px;
overflow: hidden;
margin-top:12px;
margin-left:16px;
position:relative;
z-index:110;
}
</style>
</head>
<body>
<div id="a3_1_4">
<img src="http://www.zzdesk.cn/d/0/16/2006110214180751487.jpg" />
<div id="a3_1_4_1">
dfdfdfdf</div>
</div>
</div>
</body>