I downloaded the font from this site:
http://www.fontsquirrel.com/fonts/Hattori-Hanzo
Here's my code:
<style type="text/css">
@font-face {
font-family: 'HattoriHanzoLight';
src: url('hattori_hanzo.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
</style>
</head>
<body style='font-family: HattoriHanzoLight; font-size: 19px;'>
content
</body>
My html file and my font file are in the same directory.
Why do I still see the default font?
This code is working for me so the only way this won't work is because you either have;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With