I have been told to create a website using a non standard font. The client has supplied the font file (in the .otf format). Is there any way I can have the text on the webpage show up in the specified font (non-web standard) ?
Is there any other alternative other than using sIFR ?
EDIT : How do i apply this @font-face only to a particular div ?
You can use the CSS @font-face
declaration for this.
However, beware: not all browsers support the otf
format.
You can use a tool such as FontSquirrel's Font-face Generator to convert the font into all the different formats you'll need. It'll even generate the CSS for you, which you'll then simply copy and paste into your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With