@ font-face is not an attachment in IE8 and in

for some reason, the font does not appear in IE 8 and below. I applied the IE fix (.eot? #Iefix), which always worked, but for some reason it was not this time. Does anyone know what will go wrong, or did you have such a problem? Here is what I have:

@font-face { font-family: 'rrb-main'; src: url('./assets/rrb-main.eot'); src: url('./assets/rrb-main.eot?#iefix') format('embedded-opentype'), url('./assets/rrb-main.woff') format('woff'), url('./assets/rrb-main.ttf') format('truetype'); font-weight: normal; font-style: normal; 

}

+1
source share
1 answer

Try using double quotes around your tags, for example:

 @font-face { font-family: "rrb-main"; src: url("./assets/rrb-main.eot"); src: url("./assets/rrb-main.eot?#iefix") format("embedded-opentype"), url("./assets/rrb-main.woff") format("woff"), url("./assets/rrb-main.ttf") format("truetype"); font-weight: normal; font-style: normal; } 

I don’t know why, but sometimes it works. This tag should work, since you have a version of the EOT font.

+1
source

All Articles