Html 字体可以';t载荷

Html 字体可以';t载荷,html,css,Html,Css,我使用FontSquirrel的fontface,但它们不加载。代码中是否存在冲突 @font-face {font-family: 'chunk-webfont'; src: url('/fonts/chunk-webfont.eot'); src: url('/fonts/chunk-webfont.eot?#iefix') format('eot'), url('/fonts/chunk-webfont.woff') format('woff'), url(

我使用FontSquirrel的fontface,但它们不加载。代码中是否存在冲突

@font-face {font-family: 'chunk-webfont';
    src: url('/fonts/chunk-webfont.eot');
    src: url('/fonts/chunk-webfont.eot?#iefix') format('eot'),
    url('/fonts/chunk-webfont.woff') format('woff'),
    url('/fonts/chunk-webfont.ttf') format('truetype'),
    url('/fonts/chunk-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}
试试这个

@font-face {font-family: 'chunk-webfont';
    src: url('fonts/chunk-webfont.eot');
    src: url('fonts/chunk-webfont.eot?#iefix') format('eot'),
    url('fonts/chunk-webfont.woff') format('woff'),
    url('fonts/chunk-webfont.ttf') format('truetype'),
    url('fonts/chunk-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

其中是
chunk webfont.eot
file locatedI有index.html,在同一文件夹中有font和css.so所有文件在一个文件夹中