Monday, May 30, 2011

Fixing font-face Problems in IE

GraublauWeb font was working fine in Firefox for me but not in IE. I have the before's and after's to show you the changes that I had to make in order to have it working in IE. To implement font-face that will work across browsers, use Fontspring @font-face syntax.

BEFORE:
@font-face {
font-family:'GraublauWeb';
src: url(http://pics.cssrule.com/fonts/GraublauWeb.eot);
src: url(http://pics.cssrule.com/fonts/GraublauWeb.otf) format("opentype");
}

AFTER:
@font-face {
font-family:'GraublauWeb';
src: url("http://pics.cssrule.com/fonts/GraublauWeb.eot?") format('eot'), url(http://pics.cssrule.com/fonts/GraublauWeb.otf) format("opentype");
}

6 comments:

  1. Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.

    ReplyDelete
  2. http://www.cssbakery.com/2011/05/fixing-font-face-problems-in-ie.html

    ReplyDelete
  3. Thanks a lot this helped me !!!

    ReplyDelete
  4. thanks a lot, its works!

    ReplyDelete

Note: Only a member of this blog may post a comment.