我已经尝试了各种代码来嵌入自定义字体,最后似乎在上面的FF和IE8中工作.但它在IE7中不支持.
@font-face {
font-family: 'xyzfont';
src: url('fonts/abc-font.eot?') format('eot'),
url('fonts/abc-font.woff') format('woff'),
url('fonts/abc-font.ttf') format('truetype');
}
h1, h2, h3, div span { font-family: 'xyzfont', Georgia, Arial; }
Run Code Online (Sandbox Code Playgroud)
任何使其更兼容的建议(如IE7)都是最受欢迎的.