CSS Custom Fonts for all browsers

Use Font Squirrel to create compatible fontface: http://www.fontsquirrel.com/fontface/generator
Confirmed working in IE, Chrome, Firefox

1. Upload font file and get zip file

2. Copy CSS code to your code

3. Done

 

Font Squirrel

 

Not compatible for IE: From Symphony of dot net: http://symphony-of-dot-net.blogspot.com/2010/03/making-css-custom-font-works-with-ie.html

@font-face
{
font-family: my_font;
src: url('my_font.eot');
src: local(my_font), url('my_font.ttf') format('opentype');
}

p
{
font-family: my_font;
}

 

One Reply to “CSS Custom Fonts for all browsers”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.