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-facedeclaration for this.However, beware: not all browsers support the
otfformat.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.