完全发布的网站的图片不会在IE9或IE8中显示,但其他浏览器都可以 [英] Fully Published web site's pictures don't display in IE9 or IE8 but other browsers are fine

查看:74
本文介绍了完全发布的网站的图片不会在IE9或IE8中显示,但其他浏览器都可以的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有,我一直在网站上工作,它已经发布到网上,当有人用IE8或IE9浏览它时,它只显示文本。

Hey all, i have been working on a web site and it is already published to the web, and when anyone browses it with IE8 or IE9 it shows text only.

请为我查看网站,让我知道你的想法。 http://www.boloreward.us

Please look at the site for me and let me know what you think. http://www.boloreward.us

有些图片看起来很好,有些则没有。我有一个内部页面,您可以通过点击"Just Busted"进行测试。按钮并选择一个链接。 这些页面是最大问题的页面。

Some images seem to display just fine and others do not. I have an internal page you can test by clicking the "Just Busted" button and select a link.  These pages are the ones giving the biggest problem.

我们非常感谢任何帮助。

Any help would be greatly appreciated.

 

推荐答案

摆脱所有VML和mso样式垃圾。 

Get rid of all the VML and mso styling garbage. 

这不是由EW创建。 你有Office(FrontPage,Publisher或其他)老式IE特定的东西混合在里面。

This was not created by EW.  You've got Office (FrontPage, Publisher, or other) old-fashioned IE-specific stuff mixed in.

例如:

Firefox将此视为评论,并忽略它:

Firefox treats this as a comment, and ignores it:

<!--[if gte vml 1]><v:shape
 id="Picture_x0020_2" o:spid="_x0000_i1406" type="#_x0000_t75" alt="Description: http://www.hcsheriff.gov/cor/mugview/image.php?ID=324506"
 style='width:150pt;height:187.5pt;visibility:visible;mso-wrap-style:square'>
 <v:imagedata src="../../../AppData/Local/Temp/msohtmlclip1/01/clip_image017.jpg"
o:title="image" xmlns:v="urn:schemas-microsoft-com:vml"/>
 </v:shape><![endif]--><![if !vml]>

IE正在尝试解析VML,它引用了一个看起来像你的硬盘驱动器的src图像,这不会令人惊讶地无法在网络上运行。

IE is trying to parse the VML, which references a src image on what looks like your hard drive, which not surprisingly won't work on the web.

你还有一堆其他的Office东西,包括使用点数(pt)和< o:p>现代网页没有任何意义。

You also have a bunch of other Office stuff in there, including using sizes in points (pt), and the <o:p> and mso- styling, which makes no sense in a modern web page.

坦率地说,我认为在EW中开始一个新页面要做得更快,而不是清理它。

Frankly, I think it would be faster to start a new page in EW and do it correctly than to clean this up.

 


这篇关于完全发布的网站的图片不会在IE9或IE8中显示,但其他浏览器都可以的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆