Sadly IE8 is still a browser we need to build for. Sometimes loading a set of local webfonts can break the whole website, as needed resources are not being loaded or timeout.
Best way is to split IE8 webfonts loading from other browsers, by using conditionals:
1 2 3 4 5 6 |
<!--[if lt IE 9]> <link rel="stylesheet" href="fonts.ie.css" type="text/css" media="screen" /> <![endif]--> <!--[if gte IE 9]><!--> <link rel="stylesheet" href="fonts.css" type="text/css" media="screen" /> <!--<![endif]--> |
IE8 webfonts CSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
@font-face { font-family: 'Black'; src: url('black-webfont.eot'); } @font-face { font-family: 'Regular'; src: url('regular-webfont.eot'); } @font-face { font-family: 'Bold'; src: url('bold-webfont.woff.eot'); } |
Only loading the required .EOT files.