我试图用@字体面第一次,但它不工作任何人可以帮助我解决这个问题 为什么这个脚本不工作CSS @字体面不工作
<style>
@font-face{
font-family: myfont;
src: url('entypo.eot');
src: url('entypo.eot?iefix') format('eot'),
url('entypo.woff') format('woff'),
url('entypo.ttf') format('truetype'),
url('entypo.svg#helvetica') format('svg');
font-weight: normal;
font-style: normal;
}
div {
font-family: myfont;
}
</style>
</head>
<body>
<div>
sdfdfdsfsdf
</div>
哪里的字体从何而来?你是如何制作不同的格式的?你确定你上传了这些文件吗?哪里?你测试过哪些浏览器? “不工作”是什么意思? – 2013-02-20 07:22:22