사용자 정의 @font-face
을 작동하는 데 문제가 있습니다. The <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
이 문제는 해결되지 않았습니다. –
요소에 글꼴을 어떻게 사용하고 있습니까 ?? –
'p {font-family : "effrastdltwebfontwoff";}'하고 있니? – Aibrean