2010-08-18 76 views

回答

3

如果你发现你的页面不ASV工作,并且正在使用Chrome(它似乎是),我会建议您改为使用Google Chrome Frame。要使用它,安装和下面的元标记添加到页面的头:

<meta http-equiv="X-UA-Compatible" content="chrome=1"> 
2

IE不支持SVG(前9所有版本) IE 9 ** *将支持SVG,但是到那时,你可以找到一个plugin for your IE

+0

即使有插件在它不起作用 – 2010-08-18 16:20:06

+0

可能已编程相关。如果没有,它将被移到超级用户,不用担心。见例如这:http://stackoverflow.com/questions/1427051/how-to-make-svg-work-with-ie – Piskvor 2010-08-18 21:23:43

0

Web应用程序需要类似这样的标记:低于9版

<meta http-equiv="X-UA-Compatible" content="IE=9" /> 
0

IE不支持SVG组件,IE 8和下方支撑VML而是使SVG在最近版本的IE浏览器的工作,你可以在你的HTML文件的头部输入以下代码

<meta http-equiv="X-UA-Compatible" content="chrome=1"> 
<!--[if IE]> 
<script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> 

<style> 
.chromeFrameInstallDefaultStyle { 
    position:fixed; 
    overflow:auto; 
    width: 800px; /* default is 800px */ 
    height: 80%; /* default is 800px */ 
    border: 5px solid blue; 
    right:100px; 
    bottom:100px; 
    z-index: 99999 !important; 
} 
</style> 

<div id="prompt"> 
    <!-- if IE without GCF, prompt goes here --> 
</div> 

<script> 
    // The conditional ensures that this code will only execute in IE, 
    // Therefore we can use the IE-specific attachEvent without worry 
    window.attachEvent("onload", function() { 
     CFInstall.check({ 
      mode: "inline", // the default 
      node: "prompt" 
     }); 
    }); 
</script> 
<![endif]--> 

这将要求用户在IE浏览器安装谷歌框架。只需要几分钟。之后,所有html5组件以及SVG组件都可以使用。 “大多数”