简体   繁体   English

阻止IE 6中的显示错误

[英]Block display bug in IE 6

Does any one know why the block in top-right corner of the page look different in IE6? 有谁知道为什么页面右上角的块在IE6中看起来不同? How to fix it? 如何解决?

Sorry I don't have ie6 here also however looking at it through ie7 display mode there was an issue with the searchContainer being bigger than the rest of the block which may be what you are seeing. 抱歉,我在这里也没有ie6,但是通过ie7显示模式查看它时,有一个问题,就是searchContainer大于块的其余部分,这可能就是您所看到的。

Adding height:45px may fix the issue. 添加height:45px可能会解决此问题。

Hope this is helpful to you 希望这对您有帮助

IE6 doesn't natively support opacity in png images, and has some problems with z-ordering but both issues can be worked around. IE6本身不支持png图像中的不透明度,并且在z排序方面存在一些问题,但是这两个问题都可以解决。

Put this css: 把这个CSS:

#pageheader { z-index:999; }
#logo { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src='http://preview.hksenet.hk/Content/images/HKSE_logo_2C.png'); }
#logo img { filter:  progid:DXImageTransform.Microsoft.Alpha(opacity=0); }

into a stylesheet and include that into your page using a conditional comment for IE6 only. 放入样式表,并仅使用IE6的条件注释将其包含在您的网页中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM