css - @font-face not loading fonts -


my webfont isn't showing up.

here's @font-face declaration. copypasted fontsquirrel. directories relative css file location.

@font-face{      font-family: "dejavu sans light";     src: url("../fonts/dejavusans-extralight-webfont.eot");     src: url("../fonts/dejavusans-extralight-webfont.eot?iefix") format('eot'),          url("../fonts/dejavusans-extralight-webfont.woff") format('woff'),          url("../fonts/dejavusans-extralight-webfont.ttf") format('truetype'),          url("../fonts/dejavusans-extralight-webfont.svg#webfont") format('svg'); } 

css:

html { font-family:"dejavu sans light", arial, sans-serif; } 

firebug's net panel says font request returning response code 200, it's still showing default font.

edit: tested in chrome , ie, , it's not working there either.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

qt - Passing a QObject to an Script function with QJSEngine? -

c# - Web API response xml language -