이 쓰레드는 보존되었습니다.
만약 도움이 필요하시면 새로운 질문을 올려주세요.
보존
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
@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)
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.