我需要Prime字体为我的网站 [英] I need Prime font for my web site
本文介绍了我需要Prime字体为我的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的网页设计师告诉我在我的网站使用主要的普通字体。
我没有找到它。
任何机构都知道如何使用字体。
body
{
字体-family:...
}
解决方案
最终结果:
< style type =text / css>
@ font-face {
font-family:'primelight';
src:url('prime_light-webfont.eot');
src:url('prime_light-webfont.eot?#iefix')format('embedded-opentype'),
url('prime_light-webfont.woff')format('woff'),
url('prime_light-webfont.ttf')format('truetype'),
url('prime_light-webfont.svg#primelight')format('svg');
font-weight:normal;
font-style:normal;
}
body {
font-family:primelight,Verdana,Tahoma;
}
< / style>
-
在您的网站中建立一个存放区:fonts / prime /
-
像这样:PrimeLight.otf
可选:
<
My web designer told me to use prime regular font in my web site.
I didn't find it.
Any body know how to use the font prime.
body
{
font-family: ...
}
解决方案
final result:
<style type="text/css">
@font-face {
font-family: 'primelight';
src: url('prime_light-webfont.eot');
src: url('prime_light-webfont.eot?#iefix') format('embedded-opentype'),
url('prime_light-webfont.woff') format('woff'),
url('prime_light-webfont.ttf') format('truetype'),
url('prime_light-webfont.svg#primelight') format('svg');
font-weight: normal;
font-style: normal;
}
body {
font-family: "primelight", Verdana, Tahoma;
}
</style>
go to http://fontfabric.com/prime-free-font/ and download the font
creat a repository in your website : fonts/prime/
put the prime files inside make sure you ve something like this :PrimeLight.otf
alternative :
- download the font
- convert it with all options @ http://www.fontsquirrel.com/tools/webfont-generator
这篇关于我需要Prime字体为我的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文