html - font face not working for IE8 ?? getting @font-face encountered unknown error.? -


i using font face include customised font named razing. font not working in ie8 works on ie9+ , other browsers. checked console in ie8 browser , found " @font-face encountered unknown error." tried using svg , fixes ?#iefix ain't working. please can u provide healthy solution overcome this, !!

 <style>   @font-face {   font-family: razing;   src: url(fonts/razing/razing.eot);   src: url(fonts/razing/razing.eot?#iefix) ,  url(fonts/razing/razing.ttf),  url(fonts/razing/razing.woff),  url(fonts/razing/razing.svg) format('svg');    } .abc{ font-family:razing;font-size:20px;  } </style>   <p class="abc"></p> 

try format('embedded-opentype') @ end of #iefix line. e.g.

src: url(fonts/razing/razing.eot?#iefix) format('embedded-opentype'), 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -