1、背景图片不能显示
background:url(img/img1.jpg)no-repeat;
background:url(img/img1.jpg) no-repeat;
第一个背景图片IE8下不会显示,第二行代码的背景图片会显示,区别在于no-repeat前面的空格,IE8对空格的敏感度很高。
2、图片色彩模式为CYMK
Browser | RGB | CMYK |
IE6, 7, 8 | Yes | No |
IE9 | Yes | Yes |
Firefox 2.x | Yes | No |
Firefox 3.x - | Yes | Yes |
Safari 4- | Yes | Yes |
Google Chrome 5 - | Yes | Yes |
使用 Adobe Photoshop 图片编辑器或其他能够转换的图片编辑器,将图片 颜色模式 从CMYK 保存为 RGB 颜色模式即可!
参考文章:Image not showing in ie8 due to CMYL encoding