1、下载字体包,.ttf格式
2、css中添加代码:
@font-face{font-family:'katong'; src:url(../images/katong_font.ttf); font-style:normal; font-weight:normal;}
@font-face{font-family:'katong'; src:url(../images/katong_font.eot);}
*{font-family:'katong';}
注意:需要使用软件将.ttf转换到.eot以兼容IE
http://blog.163.com/ruanzhijun_love/blog/static/163696312201092502432189/
2、css中添加代码:
@font-face{font-family:'katong'; src:url(../images/katong_font.ttf); font-style:normal; font-weight:normal;}
@font-face{font-family:'katong'; src:url(../images/katong_font.eot);}
*{font-family:'katong';}
注意:需要使用软件将.ttf转换到.eot以兼容IE
http://blog.163.com/ruanzhijun_love/blog/static/163696312201092502432189/