我無法使自定義@font-face
正常工作。 <p>
我將此類樣式應用於默認爲Arial。這裏有什麼問題?自定義字體工作不正常
<style>
.stonefont
@font-face {
font-family: 'effrastdltwebfontwoff';
src: url('http://s3.amazonaws.com/ManualUploads/rosettastone/font/stone-webfont.eot');
src: url('http://s3.amazonaws.com/ManualUploads/rosettastone/font/stone-webfont.eot?#iefix'), format('embedded-opentype'),
url('http://s3.amazonaws.com/ManualUploads/rosettastone/font/stone-webfont.woff') format('woff'),
url('http://s3.amazonaws.com/ManualUploads/rosettastone/font/stone-webfont.ttf') format('truetype'),
url('http://s3.amazonaws.com/ManualUploads/rosettastone/font/stone-webfont.svg#effrastdltwebfontwoff') format('svg');
font-weight: normal;
font-style: normal;
}
p{
font-family: "effrastdltwebfontwoff";
background:transparent; text-shadow: none; border-radius: 0; box-shadow: none; position:absolute; font-size:18px;text-align:center; z-index:99; top:157px; left:64.5px; padding: 0 7px; overflow:hidden; color:black; margin:0; border:0;height:37px;width:184px;"
}
</style>
Thanks
這並沒有解決它即時通訊。 – 2014-09-04 14:51:38
你是如何使用元素的字體? – 2014-09-04 14:56:24
你在做'p {font-family:「effrastdltwebfontwoff」;}'? – Aibrean 2014-09-04 14:56:27