html - Font import that isn't working anymore? -


i got code works not, miss see else see that's wrong?

@font-face { font-family: 'ocraextendedregular'; src: url('ocraextended.eot?#iefix'); src: url('ocraextended.eot?#iefix') format('embedded-opentype'),      url('ocraextended.woff') format('woff'),      url('ocraextended.ttf') format('truetype'),      url('ocraextended.svg#ocraextendedregular') format('svg'); font-weight: normal; font-style: normal;} 

after coding this, put in html: font-family:'ocr extended'; @ div that's this: <div id="left" style="padding-left:90px; margin-top:-67px; color:#ffffff; font-family:'ocr extended';">. while typing: "font-family", can add font: ocr extended. css linked webpage in opinion think there's nothing wrong..

someone got idea?

thanks!

the name should call font in css defined in @font-face declaration says font-family. need reference name exactly:

font-family: 'ocraextendedregular'; 

this documentation describes how font-family works in @font-face: creates arbitrary name can use reference font.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -