我需要Prime字体为我的网站 [英] I need Prime font for my web site

查看:135
本文介绍了我需要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>




  1. 前往 http://fontfabric.com/prime-free-font/
    并下载字体


  2. 在您的网站中建立一个存放区:fonts / prime /


  3. 像这样:PrimeLight.otf


可选:



<
  • 下载字体

  • 转换所有选项@ http://www.fontsquirrel.com/tools/webfont-generator


  • 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>
    

    1. go to http://fontfabric.com/prime-free-font/ and download the font

    2. creat a repository in your website : fonts/prime/

    3. put the prime files inside make sure you ve something like this :PrimeLight.otf

    alternative :

    1. download the font
    2. convert it with all options @ http://www.fontsquirrel.com/tools/webfont-generator

    这篇关于我需要Prime字体为我的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆