html - Using non-standard font in web pages? -


i have been told create website using non standard font. client has supplied font file (in .otf format). there way can have text on webpage show in specified font (non-web standard) ?

is there other alternative other using sifr ?

edit : how apply @font-face particular div ?

you can use css @font-face declaration this.

however, beware: not browsers support otf format.
can use tool such fontsquirrel's font-face generator convert font different formats you'll need. it'll generate css you, you'll copy , paste project.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -