HTML调用SVG文件如下
<embed id="SNTP" src="http://172.16.9.14:8082/CERP3x/radial_ex3.svg" width="300" height="300" type="image/svg+xml"> </embed>
<embed id="SNTP" src="http://www.chinasvg.com/svg-examples/basic-elements/gradients/radial_ex5.svg" width="300" height="300" type="image/svg+xml"> </embed> 为什么第一个本地的就显示文件内容。第二个就能正常显示SVG的图。
这个问题在IE7下不出现。请问如果解决?
<embed id="SNTP" src="http://172.16.9.14:8082/CERP3x/radial_ex3.svg" width="300" height="300" type="image/svg+xml"> </embed>
<embed id="SNTP" src="http://www.chinasvg.com/svg-examples/basic-elements/gradients/radial_ex5.svg" width="300" height="300" type="image/svg+xml"> </embed> 为什么第一个本地的就显示文件内容。第二个就能正常显示SVG的图。
这个问题在IE7下不出现。请问如果解决?
1.“就显示文件内容”是不是说显示的是代码?
2.两个embed是不是同时在一个页面内?如果是,把它们ID名称改一下,最好不要相同呵呵,我也是来问问题的