jake2891 Posted July 28, 2008 Share Posted July 28, 2008 Hey Guys, Im trying to apply a custom true type font to my text below but cant seem to get it working. Any help will be a great thanks. <style type="text/css"> @font-face { font-family:myfont; src: url("font.ttf"); } .myclass { font-face:myfont; } </style> <td class="myclass">TEXT TO USE FONT</td> Ive also tried this with the @import to. maybe im using the incorrect syntax? Link to comment https://forums.phpfreaks.com/topic/117044-using-true-fonts-in-styles-help-needed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.