i have a page styled lik:
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="http://mydomain.ir/fonts/style.css" rel="stylesheet">
</head>
and in style.css
@font-face {
font-family: 'GanjNamehSans-Regular';
src: url("GanjNamehSans-Regular.otf");
src: url("GanjNamehSans-Regular.otf?#iefix") format('embedded-opentype'),
url("GanjNamehSans-Regular.woff") format('woff'), url("GanjNamehSans-Regular.ttf") format('truetype');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'GanjNamehSans-Regular';
direction: rtl;
width: 100%;
color:white;
background-color: #383434;
text-align:center;
}
but this font not applied to body or anywhere i try to use. i checked network tab in inspect in chrome and firefox. in network tab filtered fonts and in chrome status is failed
and in firefox status is 206
... but not working
when try to open links font will be downloaded...
update:
i did the following but still have this error :**net::ERR_FAILED**
- clear cache
- Open the page in an Incognito window
- Clear your cache and cookies
- Close other tabs, extensions, & apps