【问题标题】:Entity not displaying properly in Firefox实体无法在 Firefox 中正确显示
【发布时间】:2012-12-13 10:55:21
【问题描述】:

我不知道这个问题是否有效。我在 Windows 7 操作系统上使用 Firefox 15.0。我写了一个这样的html代码

<html>
<body>
 <p>&#8270;This my testing text1 </p>
 <p>*This my testing text2 </p>
 <p>*This my testing text3 </p>
</body>
</html>

当我在 Firefox 15.0 和 Windows 7 上运行此代码时,LOW ASTERISK(⁎) 工作正常。我在 Firefox 17.0 和 Windows Xp 上运行相同的代码,它不起作用。问题是什么。

在相同的 Windows 7 操作系统中,该实体不在 Chrome、IE 上显示,它仅在 Firefox 上有效。 但同样的 Firefox 不能在 Windows xp 中运行。有没有我必须安装的字体或我必须做的事情。 谁能帮帮我..

【问题讨论】:

标签: firefox windows-7 unicode cross-browser entity


【解决方案1】:

我刚刚用 Chrome 浏览了这个页面,字符显示出来了。

您使用什么字体定义?所以有

font-family: Arial,Liberation Sans,DejaVu Sans,sans-serif;

DejaVu Sans 也在list of fonts supporting this character 中。

FF 很可能使用与 IE 和 Chrome 不同的字体回退机制。

【讨论】:

  • 使用 chrome 23 和 windows 7 时,我不会在问题中显示它。不过可以在 firefox 中使用。
  • @devio 。我的本地计算机中没有任何列出的字体。你要我安装那些字体。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-05-25
  • 1970-01-01
  • 2018-03-11
  • 2012-07-29
  • 2023-03-14
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多