I'm having difficulty getting my custom @font-face
to function properly. When I apply this class style to a <p>
, it always defaults to Arial. Can anyone point out what might be going wrong here?
<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