An @fontface problem
-
So in my local environment (MAMP), I was able to work with @fontface and actually see the wonderful and exciting fonts I have chosen for my site.
Problem is that when I took it to the live version (http://tiny-picture.com), the site tries to load it with the fonts to no avail. They default. I have tried several versions of links and nothing seems to work. Please tell me if you see something odd:
The CSS (which is at the very top of my style.css):
@font-face { font-family:'forumregular'; src: url('/fonts/forum-regular-webfont.eot'); src: url('/fonts/forum-regular-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/forum-regular-webfont.woff') format('woff'), url('/fonts/forum-regular-webfont.ttf') format('truetype'), url('/fonts/forum-regular-webfont.svg#forumregular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family:'BevanRegular'; src: url('/fonts/Bevan-webfont.eot'); src: url('/fonts/Bevan-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/Bevan-webfont.woff') format('woff'), url('/fonts/Bevan-webfont.ttf') format('truetype'), url('/fonts/Bevan-webfont.svg#BevanRegular') format('svg'); font-weight: normal; font-style: normal; }I refer to it later in the css like this:
#contactinfo{ font-family:'BevanRegular'; font-size: 11px; padding-left: 45px; padding-top: 10px;I looked at my permissions, as someone else here mentioned, but mine seem fine.
Any thoughts?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘An @fontface problem’ is closed to new replies.