Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
@font-face does not work in IE.
Old 04-03-2012, 06:43 PM @font-face does not work in IE.
Experienced Talker

Posts: 39
Name: Day
Trades: 0
I have .ttf and .eot versions of the fonts I'm trying to use, and the fonts are displaying properly in Chrome, Firefox, Safari, and Opera. In IE however, it shows Arial.

The page is visible at: http://www.itnetpros.com

Here are the font-face rules and one of the elements that should be using the fonts in my css:
Code:
@font-face {
	font-family: humnst777;
	src: url(../fonts/Hum777l.ttf), url(../fonts/Hum777l.eot);
}
@font-face {
	font-family: humnst777n;
	src: url(../fonts/Hum777n.ttf), url(../fonts/Hum777n.eot);
}

h1 {
	font: 100 30px/30px humnst777, Arial, Helvetica, sans-serif;
	color: #393e47;
	margin: 0 30px;
	padding: 80px 0 0 0;
}
If anyone could tell me what I'm missing, it would be greatly appreciated.
DayliDesign is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-03-2012, 11:37 PM Re: @font-face does not work in IE.
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,022
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
The first and most important question is: Which versions of IE?
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 04-03-2012, 11:52 PM Re: @font-face does not work in IE.
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,022
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Here's a recent article on the subject you may find useful:

http://www.smashingmagazine.com/2011...useful-tricks/

Of particular importance is this, quoted from the article:

Quote:
EOT is exclusively supported by Internet Explorer. Even though it might not succeed as a Web font format in the future, it still makes sense to use this format today in order to supply the users of various IE versions with Web fonts. Current IE versions (< 9) do not use any other format.


If you want to convert TTF fonts to natively compressed EOT files, you can use EOTFast (a free application) currently available only for Windows.
tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 04-14-2012, 01:17 AM Re: @font-face does not work in IE.
Experienced Talker

Posts: 39
Name: Day
Trades: 0
It does not work in any version of IE. I'm still a bit confused on what your referring to in the article. I've uploaded ttf and eot formats and put them both in my @font-face rule.

Is there something else I passed up in the article or that I've forgotten to include?
DayliDesign is offline
Reply With Quote
View Public Profile
 
Old 04-15-2012, 08:24 AM Re: @font-face does not work in IE.
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,022
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
You might want to try putting the rule in a separate IE-only stylesheet called by conditional comments. If you always do that presuming IE will always find a way to mess it up otherwise, know that 90-99.999% of the time you'll be right.
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Reply     « Reply to @font-face does not work in IE.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17132 seconds with 11 queries