IE8:过滤器子div对父过滤器做出反应 [英] IE8: Filter child div reacts on a filter of a parent

查看:85
本文介绍了IE8:过滤器子div对父过滤器做出反应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

 

在我们的html页面中,我们使用一些过滤器将阴影添加到弹出窗口中,并在弹出窗口内部使div透明以查看其第一个父对象的背景.弹出窗口的阴影分配给一个div父级更高的div.

In our html page we use some filters to add shadow to a popup and inside the popup to make a divs transparant to see the background of its first parent. The shadow for the popup is assigned to a div a few parent higher.

简而言之,我的页面看起来像这样:

In short my page looks like this:

 

<div style="box-shadow: 3px 3px 5px #999; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, Color='#999999', Positive='true');">..

 <div>...

  <div>...(parent with background)

   <div style="filter: alpha(opacity=1); BACKGROUND-COLOR: white">

</div></div></div></div>

 

我的问题是,具有透明背景的div不仅对于自己的父对象而且对于所有父对象都是透明的,直到具有阴影的div.当我移除带有阴影的滤镜时,透明div仅在其第一个透明 父母.

My problem is that the div with the transparant background becomes transparant not only for its own parent but also for all parents till the div with the shadow. When I remove the filter with the shadow the transparant div is only transparant for its first parent.

这是IE中的错误还是我做错了什么?

Is this a bug in IE or am I doing something wrong?

推荐答案

你好,

感谢您的发帖!我建议将您的问题发布在位于此处的"Internet Explorer"中: http://social.answers.microsoft.com/Forums/zh-CN/InternetExplorer/threads


祝你有美好的一天!

谢谢!


Have a great day!

Thanks!


这篇关于IE8:过滤器子div对父过滤器做出反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆