我試圖嵌入我的自定義字體在我的網站上的字體,有一個鏈接文件夾從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