0
我已經搜索了每一個地方,爲什麼字體在Firefox中無法正常工作。我發現了幾個不同的答案,但似乎沒有解決這個問題。如果有人能給我一些很棒的提示。@ font-face不工作在Firefox上
CSS代碼:
@font-face
{
font-family:Viking-Normal;
src: url('../fonts/VIKING.eot') format("opentype"), url('../fonts/VIKING.ttf') format("truetype");
}
div#header
{
font-family:Viking-Normal !important;
font-size:58px;
text-align:center;
width:780px;
height:150px;
background:#0078A8;
margin-left:auto;
margin-right:auto;
}
感謝Zuul, 我修改了字體松鼠,我知道有工作在所有瀏覽器。 CSS: @ font-face { font-family:'VikingRegular'; src:url('../ fonts/VIKING.eot'); ('../ fonts/VIKING.eot?#iefix')格式('embedded-opentype'),url('../ fonts/VIKING.ttf')格式('truetype'),font-體重:正常; font-style:normal; } – 2012-07-25 01:49:11
@MthethewBranch很高興能幫到你! :) – Zuul 2012-07-25 01:55:45