1

I'm faced with a problem, I can't edit the css or javascript of a webpage. Only it's body. So, I need to use a font that all systems don't support. So is there any way I can use @font-face inline?

MisterGeeky
  • 254
  • 1
  • 8
  • 18

2 Answers2

0

How about creating a new css on it's body part?

<body>
   <style>
      @font-face ...
   </style>

   ...
</body>

or using external stylesheet with @font-face inside it.

<link rel='stylesheet' href='webfont.css' />
de.vina
  • 116
  • 10
0

You can easily "overwrite" css by adding a code like the following in your balise head:

<style>
  @font-face {
    font-family: 'new-font';
    ...
  }

  p {
    font-family:'new-font';
  }
</style>
thomasstephn
  • 3,775
  • 4
  • 24
  • 29