Cookiimonstar
Cookiimonstar

Reputation: 421

CSS Fonts not working ie

I use @font-face in my .css styles sheet and it works fine for chrome an mozilla but ie wont load the font the only way i can get ie to load the font is to include the @font-face in the header of every page.

Can anyone tell me why ie will only load it if i include the font, in the header an not in the styles sheet?

/*-------------------------FONTS------------------------------*/
@font-face {
 font-family: Tw_Cen_MT_Condensed;
 src: url("/graphic_include/css/Font/Tw_Cen_MT_Condensed.eot") /* EOT file for IE */
}

@font-face {
 font-family: Tw_Cen_MT_Condensed;
 src: url("/graphic_include/css/Font/Tw_Cen_MT_Condensed.TTF") /* TTF file for CSS3 browsers */
}

Upvotes: 1

Views: 594

Answers (1)

Harry Svensson
Harry Svensson

Reputation: 335

One way to solve it would be if google had it in its database.

<link href='https://fonts.googleapis.com/css?family=Tw+Cen+MT+Condensed' rel='stylesheet' type='text/css'>

Or.. Find a similar font in google's database.



EDIT

Here is google's FONT database

Upvotes: 2

Related Questions