html设置字体在本地不生效,Css字体在IE中不起作用

我正在使用从FontSquirrel生成的一些字体,但它似乎并没有IE无法处理字体..我做错了什么?这不是一个公共的网页..它是建立在本地平台上,直到我准备启动,这就是为什么域名结束于.local。

@font-face {

font-family: 'proxima_light';

src: url('http://www.anotherdomain.local/fonts/proximanova-light-webfont.eot');

src: local('proxima_light'), url('http://www.anotherdomain.local/fonts/proximanova-light-webfont.eot?#iefix') format('embedded-opentype'),

url('http://www.anotherdomain.local/fonts/proximanova-light-webfont.woff') format('woff'),

url('http://www.anotherdomain.local/fonts/proximanova-light-webfont.ttf') format('truetype'),

url('http://www.anotherdomain.local/fonts/proximanova-light-webfont.svg#proxima_nova_ltregular') format('svg');

font-style: normal;

}

@font-face {

font-family: 'proxima';

src: url('http://www.anotherdomain.local/fonts/proximanova-regular-webfont.eot');

src: local('proxima'), url('http://www.anotherdomain.local/fonts/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),

url('http://www.anotherdomain.local/fonts/proximanova-regular-webfont.woff') format('woff'),

url('http://www.anotherdomain.local/fonts/proximanova-regular-webfont.ttf') format('truetype'),

url('http://www.anotherdomain.local/fonts/proximanova-regular-webfont.svg#proxima_nova_rgregular') format('svg');

font-weight: normal;

font-style: normal;

}

@font-face {

font-family: 'proxima';

src: url('http://www.anotherdomain.local/fonts/proximanova-semibold-webfont.eot');

src: local('proxima'), url('http://www.anotherdomain.local/fonts/proximanova-semibold-webfont.eot?#iefix') format('embedded-opentype'),

url('http://www.anotherdomain.local/fonts/proximanova-semibold-webfont.woff') format('woff'),

url('http://www.anotherdomain.local/fonts/proximanova-semibold-webfont.ttf') format('truetype'),

url('http://www.anotherdomain.local/fonts/proximanova-semibold-webfont.svg#proxima_nova_ltbold') format('svg');

font-weight: bolder;

font-style: normal;

}正如我所说..它只是IE浏览器不处理字体面..每个其他浏览器做得很好..

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值