I'm using IcoMoon icons on my site and while they work perfectly in all modern browsers they don't work at all in Internet Explorer 7 and show as little boxes in Internet Explorer 8. The CSS is as follows which is from IcoMoon apart from the relative path to the font:
@font-face {
font-family: 'icomoon';
src:url ('../fonts/icomoon.eot');
src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('../fonts/icomoon.woff') format('woff'),
url('../fonts/icomoon.ttf') format('truetype'),
url('../fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-variant:normal;
}
I'm using the data-icon attribute (e.g. <li data-icon=""><a href
, etc.) to display the icon in my navigation.
What could the problem be?