【发布时间】:2013-07-04 14:32:17
【问题描述】:
我是这样使用@font-face的
@font-face {
font-family: 'SteelTongs';
src: url('../fonts/SteelTongs.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
section.page_heading .logo a {
font-size: 40px;
font-family: 'SteelTongs';
text-shadow: 0px 2px rgba(0,0,0,0.36);
color: #fff;
text-decoration: none;
float: left;
margin-right: 25px;
现在,.ttf 文件中的示例文本通常会显示在徽标容器中
编辑: 见http://www.had.omarsalim.biz
这是一个屏幕截图:
注意标题
请帮忙
我在 chrome 和 firefox 中测试过
【问题讨论】:
-
.ttf文件不包含示例文本。你到底有什么问题? -
你确定你使用了正确的字体吗?
-
感谢您抽出宝贵时间提供帮助 :) 我使用了正确的字体您可以查看had.omarsalim.biz 了解我在说什么