日期:2014-05-16  浏览次数:20495 次

ie10 不兼容
本帖最后由 liutao132 于 2013-06-08 10:21:05 编辑
#head { float:left; width:100%; background:url(../images/head_bg.jpg) repeat-x;}
#head .head_center { width:960px; margin:0 auto;}
#head .head_center .logo { float:left; width:208px; height:60px; overflow:hidden; margin:10px 0;}



<div id="head">
<div class="head_center">
<div class="logo"><a href="#"><img src="files/logo.png" width="208" height="60"></a></div>


在ie10里面logo.png  这张图片不显示

------解决方案--------------------
在head里加兼容代码,强制兼容
 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
------解决方案--------------------
向来都是高版本浏览器好对付,IE678难对付,我的X-UA-Compatible从来都是IE=edge,希望以IE的最高版本渲染。

另外,IE10亲测图片可以显示,不知道LZ是不是代码不全。