사이트에 웹폰트 적용하기 > JQuery & JavaScript

STUDY ROOM

JQuery & JavaScript

사이트에 웹폰트 적용하기

페이지 정보

작성자 JMStudy 작성일05-07-07 18:45 조회7,278회 댓글0건

본문

먼저 웹폰트를 홈페이지 계정에 업로드 합니다.

올린 웹폰트를 페이지에 적용시키려면 아래 스타일시트를 이용하면됩니다.


<style type="text/css">

@font-face {font-family: 폰트이름; src:url(http://웹사이트주소/웹폰트파일명.eot);}

a:link {font-family: 폰트이름;font-size: 10pt;}

a:visited {font-family: 폰트이름;font-size: 10pt;}

a:hover {font-family: 폰트이름;font-size: 10pt;}

a:acvite {font-family: 폰트이름;font-size: 10pt;}

body,div,table,tr,td,p,span {font-family: 폰트이름;font-size: 10pt;}

</style>


댓글목록

등록된 댓글이 없습니다.