Jump to content

using true fonts in styles. Help needed


jake2891

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.