我试图嵌入我的自定义字体在我的网站上的字体,有一个链接文件夹从http://www.fontsquirrel.com/fontface/generator这个网站在这个网站上载的字体后,它给了我这个CSS:如何嵌入网站
@font-face {
font-family: 'VoltaEFTU-Regular';
src: url('voltaeftu-regular-webfont.eot');
src: local('☺'),
url('voltaeftu-regular-webfont.woff') format('woff'),
url('voltaeftu-regular-webfont.ttf') format('truetype'),
url('voltaeftu-regular-webfont.svg#webfonttKmU3jX8') format('svg');
font-weight: normal;
font-style: normal;
}
但它不适用于我的机器。如何在我的网站中嵌入字体?
感谢 MAYUR伴侣
可能重复的[如何在HTML中嵌入字体?](http://stackoverflow.com/questions/220236/how-to-embed-fonts-in-html) – 2010-05-27 05:51:01
关键字在您的问题的标题中。只需在如下搜索框中键入它们:google,stackoverflow,无论如何,您都可以找到它。 – 2010-05-27 05:51:40