Trying to implement a custom font on a website i'm making.
When opening the page locally the font loads fine. The font is not showing when opening the page from the server however and reverts to a default. I'm not quite sure why it isn't working. Code below
@font-face{
font-family:hamburgerheaven;
src: url("../fonts/hambh___.ttf"); /* TTF file for CSS3 */
}
@font-face{
font-family:hamburgerheaven;
src: url("../fonts/hambh___.eot"); /* EOT file for IE */
}
#main-content {
position:relative;
top:-80px;
padding-left: 230px;
font-family:hamburgerheaven;
}
Any ideas?
Thanks,
Dan.

New Topic/Question
Reply


MultiQuote




|