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
Post a Comment