.PNG在IE 7和8中突破红色x白色边框 [英] .PNG's breaking in IE 7 and 8, red x white border

查看:153
本文介绍了.PNG在IE 7和8中突破红色x白色边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在网站上为一些非常酷的人工作,
就在这里:
http:// journeyofaction.com

we're working on a site for some really cool folks, it's here: http://journeyofaction.com

它是'wave'以视频为中心的主题在主题森林中找到。

他们正在全部上传他们的图像是.PNG的。
前几天他们给我们发了电子邮件说他们的一些用户没有看到任何图片,
只有带有红色'x'的小白框和图片应该有一个大的白色边框。

they're uploading all their images as .PNG's. the other day they emailed us saying some of their users aren't seeing any images, only small white boxes with a red 'x' and where the image should be has a large white border.

我在adobe browserlab上的IE 7/8/9中查看了它,并验证了确实如此。
当我们最初测试网站时,一切都是.jpg的。

i checked it out in IE 7 / 8 / 9 on adobe browserlab, and verified that this is so. when we initially tested the site, everything was .jpg's.

我尝试了一些来自我在互联网上发现的各种修复的东西,
i切换对于XHTML 1.0过渡而不是静态的doctype,
重新编写处理不使用速记属性的图像的css,

i tried a few things from various fixes i found on the interwebs, i switched the doctype to XHTML 1.0 transitional instead of static, re-authored the css that deals with the images not to use shorthand properties,

但是,唉,。 PNG仍然在IE7 / 8中突破,而不是9,

but alas, the .PNG's are still breaking in IE7/8 , not in 9,

我发现:

http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/red-x-displayed-for-png-images/a99a5258-ca46-4b22-8338-ea446c40a570

这个:

http://www.winhelponline.com/articles/202/1/PNG -images-是 - 不显示 - - 网络sites-上in-Internet-Explorer.html

这两者都有点令人不安。希望不是它。

both of which are mildly disturbing. hope that's not it.

我在.php主题文件中注意到,开发人员正确地关闭了图像标签,

i did notice in the .php theme files, the developer had closed out the image tags properly,

因此:

echo '<img src="'.get_bloginfo('template_url').'/thumb.php?src='.$postimage.'&amp;w=470&amp;h=260&amp;zc=1&amp;q=95" alt="'.get_the_title().'" />';

但是当我在chrome检查器中检查它时,标签以>结尾,而不是/>
不知道是什么。

but when i check it in the chrome inspector, the tags end in >, not /> no idea what's up.

tyty,
保持优雅,STACK。

tyty, stay classy, STACK.

推荐答案

我认为它与Quicktime有关,当它安装时它将PNG关联到自身。如果计算机中安装了Quicktime,请尝试以下操作:右键单击PNG文件,然后选择默认程序作为Internet Explorer。然后刷新IE中存在问题的页面(如果没有,请关闭浏览器并重新打开并转到页面)

I believe it has to do with Quicktime, when it installs it associates PNGs to itself. If Quicktime is installed in your computer and that happens, try this: Right click on a PNG file and select the default program as Internet Explorer. Then refresh the page that has the problem in IE (or if not, close the browser and reopen it and go to the page)

这篇关于.PNG在IE 7和8中突破红色x白色边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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