samedi 5 mai 2012

Making CSS Custom Font works with IE, Firefox, Opera and Safari

In order to use a custom font in your website, which may not available on your visitor PCs, you can use CSS @font-face syntax to instruct the web browser to download the custom font to the visitor PC. The simplest form of @font-face declaration is this, you can use either TTF or OTF font file: @font-face{ font-family: my_font; src: url('http://www.my_website.com/my_font.ttf');}p{

Aucun commentaire:

Enregistrer un commentaire