gpt4 book ai didi

html - ie6阴影问题

转载 作者:行者123 更新时间:2023-11-28 18:57:34 25 4
gpt4 key购买 nike

演示:http://jsbin.com/esupex/2

我在盒子上有阴影,它使 div 进入新行,如果我删除阴影,div 会回到同一行。以下是屏幕截图。

ie6 阴影断线错误 - full image : enter image description here

ie6 no shadow(这只是为了显示没有阴影后的样子,但我们确实需要阴影)- full image : enter image description here

最终布局应该是这样的。此屏幕截图来自 firefox - full image : enter image description here

以下是导致问题的行,我不知道如何解决:

filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=140, Color='#eeeeee');

最佳答案

如果您必须在 IE 中有阴影,请为呈现得过低的框添加负边距。

http://jsbin.com/esupex/36

我添加修改为:

#playerNavBox {
height:36px;
margin-right: 260px;
*margin-top: -43px;
}

关于html - ie6阴影问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7302954/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com