我正在开发一个网站,并在ie8中获得黑色轮廓它在所有其他主要浏览器中看起来很棒,但不是在ie-8中,请帮助我这是我的实时链接http://www.cadellfoods.com.au/food-service-products.html (圆形部分)
请告诉我所有图片的代码如下
#Section1
{
background:transparent url('Images/Chilled.png') no-repeat;
background-repeat:no-repeat;
border:none; outline:none; outline:0;
border-width: 0;
}发布于 2013-02-21 15:02:38
在IE 8中看起来也没问题。也许你在windows XP上的IE 8中有问题
作为一个好的实践,你不应该以大写字母开始你的ID或班级。
发布于 2013-02-21 15:02:45
可能不是,但我注意到IE在链接的图像上设置了边框。您需要撤消这些默认值。
#Section1 a:link img {
border:none;
}不要忘记:hover和:visited伪代码。
以防万一,你也可以试试这些
#Section1 img {
border:none;
}
#Section1 a:link {
border:none;
}https://stackoverflow.com/questions/14996057
复制相似问题