【问题标题】:Image (.png) not shown in Chrome, firefox and mobile-safari图像 (.png) 未在 Chrome、firefox 和 mobile-safari 中显示
【发布时间】:2012-07-08 00:39:32
【问题描述】:

我有这张图片:

<a href="home.php" id="logo"><img src="images/myimages.png" alt=""></a>

它仅适用于 Safari。它不会在 Chrome、firefox 或 Safari 'Mobile'(iPad、iPhone)中显示。

有什么原因吗?

【问题讨论】:

  • 您能否将 URL 发布到该(或示例)页面?
  • 看起来完全有效。应该适用于所有这些浏览器。很可能你在其他地方出错了,浏览器进入了怪癖模式。
  • 这只是一个例子......图像在左上角......正如我所说的它仅在 safari 中显示......app-dream.com/test/test.php

标签: html image firefox google-chrome mobile-safari


【解决方案1】:

您的文件似乎是已重命名为 .png 的 PSD (Adobe Photoshop) 文件。

将其存储为适当的 PNG。

【讨论】:

  • @Shaul 看来 Safari 可以处理 PSD。
猜你喜欢
  • 1970-01-01
  • 2015-12-17
  • 1970-01-01
  • 2017-11-29
  • 2017-06-09
  • 2012-01-14
  • 2016-01-15
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多