2
Always use @font-face
in my projects and never had this problem.
I have doubts if you have a problem with my CSS.
The @font-face
not working on Firefox.
My code is like this.
<link rel="stylesheet" type="text/css" href="css/fonts.css">
The CSS of @font-face
is in the folder fonts
@font-face {
font-family: 'futura_mdcn_btmedium';
src: url('../fonts/futura_medium/futura_mdcn_bt_medium-webfont.eot');
src: url('../fonts/futura_medium/futura_mdcn_bt_medium-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/futura_medium/futura_mdcn_bt_medium-webfont.woff') format('woff'),
url('../fonts/futura_medium/futura_mdcn_bt_medium-webfont.ttf') format('truetype'),
url('../fonts/futura_medium/futura_mdcn_bt_medium-webfont.svg#futura_mdcn_btmedium') format('svg');
font-weight: normal;
font-style: normal;
}
And in my CSS style it’s like this:
p{
font-family:'futura_mdcn_btmedium' Arial, Helvetica, sans-serif;
}
body{
font-family:'futura_mdcn_btmedium' Arial, Helvetica, sans-serif;
}
I have a folder called fonts
and inside this folder contains a subfolder futura_medium
there are all Woff/ttf/svg files etc.
Did I forget something?
Jefferson Alison, Solved I never imagined that it would be a stupid thing a primary mistake on my part, I ignored the comma why I tested in various browsers Chrome, Ie, rock melt, Safary, Opera and everyone was normal just in firefox happened this. I appreciate the help
– dann
It is already spent hours and hours looking for where was missing the comma or point and comma.. hehe, is part friend.
– Jefferson Alison