Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I need to place the Maltese cross on a web page. IE works, Safari works, but Firefox does not. It is wingding character.

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 donlav

more options

The Maltese cross is in the winding font family. I have the following HTML on the pages:

<span class="cross" style="font-family: wingdings; vertical-align: top;">X</span>

The inline element tag is in a <font> tag.

CSS: span.cross { color: #000; font-size: 16pt; font-weight: bold; }

This has been working for years in IE 5, 6, 7 & 8, works also in safari (latest rev), but does not work in FireFox rev 4.0.1. FoxFire displays a large X instead of the Maltese cross.

Other than this small problem FoxFire works great, especially with HTML5 & CSS3.

Any help would be appreciated.

DonL </font>

The Maltese cross is in the winding font family. I have the following HTML on the pages: <pre><nowiki> <span class="cross" style="font-family: wingdings; vertical-align: top;">X</span></nowiki></pre> The inline element <span> tag is in a <font> tag. CSS: span.cross { color: #000; font-size: 16pt; font-weight: bold; } This has been working for years in IE 5, 6, 7 & 8, works also in safari (latest rev), but does not work in FireFox rev 4.0.1. FoxFire displays a large X instead of the Maltese cross. Other than this small problem FoxFire works great, especially with HTML5 & CSS3. Any help would be appreciated. DonL

由cor-el于修改

所有回复 (3)

more options

This concerns the Maltese cross problem. When I posted the problem, the data inside "<" and ">" characters is lost. The only thing that showed was the "X".

I posted the HTML used to display the cross w/o these chars.

span class="cross" style="font-family: wingdings; vertical-align: top" X /span

Thanks for any help.

DonL

more options

Use the Unicode representation: ✠ &#x2720;

See also:

more options

Thanks for the information. I had the unicode "u2720" but did not know how to enter it.

With a little change in the HTML and CSS it now works in FoxFire and IE.

donlav