Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I'm using helvetica neue font for my site but its in all other browsers except firefox. I'm using in my local so can't give url

  • 1 回覆
  • 16 有這個問題
  • 1 次檢視
  • 最近回覆由 guigs

more options
@font-face {
font-family: 'Helvetica Neue';
src: url('../HelveticaNeue.eot');
src: url('../HelveticaNeue.eot?#iefix') format('embedded-opentype'),
     url('../HelveticaNeue.woff') format('woff'),
     url('../HelveticaNeue.ttf') format('truetype'),
     url('../helveticaNeue.svg#Helvetica Neue') format('svg');
font-weight: normal;
font-style: normal;
  }
  • { font-family: 'Helvetica Neue'; font-size:12px;color:#A9CDC9; line-height:21px;}

/*-- this is part of my code, fonts are on the root folder..*/

<pre><nowiki>@font-face { font-family: 'Helvetica Neue'; src: url('../HelveticaNeue.eot'); src: url('../HelveticaNeue.eot?#iefix') format('embedded-opentype'), url('../HelveticaNeue.woff') format('woff'), url('../HelveticaNeue.ttf') format('truetype'), url('../helveticaNeue.svg#Helvetica Neue') format('svg'); font-weight: normal; font-style: normal; } </nowiki></pre> *{ font-family: 'Helvetica Neue'; font-size:12px;color:#A9CDC9; line-height:21px;} /*-- this is part of my code, fonts are on the root folder..*/

由 cor-el 於 修改

所有回覆 (1)

more options

Hi Lazulin, Thank you for your question, I found the reference for the importing font face https://developer.mozilla.org/en-US/d.../@font-face Does this font also have a woff format? https://developer.mozilla.org/en-US/d.../@font-face

Please also make sure that the font preferences in the browser profile you are testing in does not override the website choosing its own font.

I hope this helps. If there are any issues that are not mentioned in the mdn article please let the post know.