FairyBusiness
asked on
How to use @font-face in IE?
Hello, here is my code:
@font-face {
font-family: blackjack;
src: url('fonts/blackjack.eot') ;
src: url('fonts/black_jack.ttf' ) format('truetype');
}
but this wont work in IE, but it will in Firefox. This works in IE though:
@font-face {
font-family: blackjack;
src: url('fonts/blackjack.eot') ;
}
but then, obviously, it will not show in Firefox, or other browsers. Can someone please let me know how to fix this?
@font-face {
font-family: blackjack;
src: url('fonts/blackjack.eot')
src: url('fonts/black_jack.ttf'
}
but this wont work in IE, but it will in Firefox. This works in IE though:
@font-face {
font-family: blackjack;
src: url('fonts/blackjack.eot')
}
but then, obviously, it will not show in Firefox, or other browsers. Can someone please let me know how to fix this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
replace the ¿ by the smiley (alt+1 if you are on windows)
check this url for info:
http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/
check this url for info:
http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/
@font-face{ /* for IE */
font-family:MyFont;
src:url(myfont.eot);
}
@font-face { /* for non-IE */
font-family:MyFont;
src:url(http://:/) format("No-IE-404"),url(my font.ttf) format("truetype");
}
-DdN
font-family:MyFont;
src:url(myfont.eot);
}
@font-face { /* for non-IE */
font-family:MyFont;
src:url(http://:/) format("No-IE-404"),url(my
}
-DdN
ASKER
thank you
ASKER
I dont know how to make an up-side-down question mark. . . just curious!