CSS Custom Fonts for all browsers

Read Time:27 Second

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-family: my_font;
src: url('my_font.eot');
src: local(my_font), url('my_font.ttf') format('opentype');

font-family: my_font;


One thought

  1. Exactly what I was looking for. Thanks, you saved me hours of research job !

Leave a Reply

Your email address will not be published.

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