做的div弹出层,想做遮住其他div的效果,在IE7以上版本都可以,但在IE6不兼容,怎么设置z-index都没用
做的div弹出层,想做遮住其他div的效果,在IE7以上版本都可以,但在IE6不兼容,怎么设置z-index都没用,div的弹出层总是被下面的div遮盖。求教~~怎么兼容 div弹出层 IE6 --------------------编程问答-------------------- 拒绝IE6,jq2.0都抛弃IE8了。。 --------------------编程问答-------------------- 层里面套个iframe看看。 --------------------编程问答-------------------- 笨办法:判断用户浏览器是否是IE6,如果是,提示他该升级了... --------------------编程问答--------------------求详细解答,是在哪套个iframe? --------------------编程问答--------------------
额,这个不太好吧。。。。。。 --------------------编程问答-------------------- <!-- JS遮罩层 -->
<div id="fullbg" style="display:none;">
<iframe src="about:blank" style="z-index:-1; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); left:0px; visibility:inherit; width:100%; position:absolute; top:0px; height:340px;"> </iframe>
</div>
<style>
#fullbg{
background:rgba(0, 0, 0, 0.4) none repeat scroll 0 0 !important;
background-color:#000000; position:absolute; z-index:999;filter:Alpha(Opacity=30);
}
</style> --------------------编程问答-------------------- 还是用jquery弹出层插件吧
这么蛋疼的问题~ --------------------编程问答-------------------- http://www.cnblogs.com/Darren_code/archive/2012/03/05/z-index.html楼主看看是不是符合文中所说的情况?另外,真的可以放弃IE6了~
补充:.NET技术 , ASP.NET