为什么网站没有在www中加载字体样式表。网站与Firefox

时间:2014-01-20 17:18:49

标签: html css firefox

网站正在进行中:http://stonetoolsupply.com

当我在OSX 10.6.8上的Firefox 26中查看网站http://stonetoolsupply.com时,字体加载正确,但是当我在OSX 10.6.8上的Firefox 26中将此网站视为http://www.stonetoolsupply.com时,字体不是&# 39; t加载,我的文字没有样式。为什么会这样?我很难过!谢谢!

字体样式表:

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

}




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

}

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

}

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

}




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

}

指向css文件的链接:

<link rel="stylesheet" type="text/css" href="http://stonetoolsupply.com/v/vspfiles/splash/css/main.css">
<link rel="stylesheet" type="text/css" href="http://stonetoolsupply.com/v/vspfiles/splash/fonts/stylesheet.css">

1 个答案:

答案 0 :(得分:0)

根据上述评论 - 确保您刷新了浏览器缓存(还要注意我在F12控制台中收到了javascript错误)