garrensilverwing
New Member
- Messages
- 148
- Reaction score
- 0
- Points
- 0
Hey guys I'm working on a site for a friend of mine and he has a brand set up for his company. This brand has its own font and I'm trying to get it to work on the website. I got it to work with every browser except for internet explorer. I searched with google and couldn't get anything that worked.
Here is my CSS code:
I ran it through a validation service and it said it was all screwed up. Can anyone give me a definitive answer on how to get the custom fonts to work? I have both .ttf files and .eot files.
Thanks again!
Here is my CSS code:
Code:
@font-face {
src: url(../fonts/font1.eot);
font-family: font1;
src: local("font1"), url( ../fonts/font1.ttf ) format("truetype");
}
I ran it through a validation service and it said it was all screwed up. Can anyone give me a definitive answer on how to get the custom fonts to work? I have both .ttf files and .eot files.
Thanks again!