简体   繁体   English

IE9奇怪的黑边

[英]IE9 strange black border

Im facing an strange issue with IE9.我在使用 IE9 时遇到了一个奇怪的问题。 I see lots of random black borders in my page even thought they are either box-shadow or simple border: none.我在我的页面中看到很多随机的黑色边框,甚至认为它们是框阴影或简单边框:无。 Im using windows in Parallel Desktop in my iMac.我在 iMac 的并行桌面中使用 windows。 Is it just my computer or its a common bug?它只是我的电脑还是一个常见的错误?

在此处输入图像描述

It's not giving me any issues in IE9 or Google Chrome;它在 IE9 或谷歌浏览器中没有给我任何问题; it must be your computer.它必须是你的电脑。

It is an issue that we recently experienced with IE9, and if you are seeing it, there could be a good possibility that many others are too.这是我们最近在使用 IE9 时遇到的一个问题,如果您遇到了这个问题,很可能其他许多人也遇到过。

If I remember right, I think we resolved just by applying如果我没记错的话,我想我们通过申请解决了

img.class {
  border-style: none;
}

for the appropriate classes/id's in CSS - it's probably worth playing around with this just to see if you notice anything change in your browser before ignoring the issue.对于 CSS 中的相应类/ID - 可能值得尝试一下,看看在忽略该问题之前您是否注意到浏览器中有任何变化。

Try testing by applying the above to every image on the entire site, then you will see if it is resolvable from this method.尝试通过将上述方法应用于整个站点上的每个图像来进行测试,然后您将看到它是否可以通过此方法解析。

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

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