开发者

image pop up problem

When you hover or click on an image within the w开发者_Python百科ebpage a pop up appears. However, this new pop up image is hidden behind the div to the right. Is there any way of bringing it forward so it is visible instead? Thanks in advance.

Paul


The div with more z-index will appear above the the one with lower z-index. Add z-index to your style class or quote as inline style to the div;

.in_style {
background-color: #E0EAF1;
white-space: nowrap;
z-index: 300;
}
 or
<div id='upperDiv' style='z-index:300;'>

        Your contents

</div>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜