No replies
vshang
vshang's picture
Offline
newbie
Canada
Last seen: 11 years 28 weeks ago
Canada
Timezone: GMT-7
Joined: 2010-04-11
Posts: 1
Points: 2

Hey everyone,

I'm new here, and my first question: I have, for now, 2 pages on my website and the second is under a sub-directory in my site root (namely in a separate folder). So, in the index.html page in the sub-directory, I have just linked to my main.css file, but, the @font-face property does not affect the <h1> tags, which I want it too. The thing is, the @font-face property works fine in the index.html page in the site root; so the home page.

Is there some problem with the links I'm setting up? This is what my main.css file looks like:

@font-face {
 
font-family:"Dax";
src:url(../Dax-Medium.ttf);
 
}
 
And, the Dax-Medium file is located just in the site root folder.
 
Thanks for the help!!! :)