0

字体:

@font-face {
    font-family: 'HelveticaNeueLTCom25UltraLight';
    src: url('fonts/helvetica_neue_lt_com_25_ultra_light/helvetica_neue_lt_com_25_ultra_light.eot');
    src: url('fonts/helvetica_neue_lt_com_25_ultra_light/helvetica_neue_lt_com_25_ultra_light.eot?#iefix') format('embedded-opentype'),
         url('fonts/helvetica_neue_lt_com_25_ultra_light/helvetica_neue_lt_com_25_ultra_light.woff') format('woff'),
         url('fonts/helvetica_neue_lt_com_25_ultra_light/helvetica_neue_lt_com_25_ultra_light.ttf') format('truetype'),
         url('fonts/helvetica_neue_lt_com_25_ultra_light/helvetica_neue_lt_com_25_ultra_light.svg#HelveticaNeueLTCom25UltraLight') format('svg');
    font-weight: normal;
    font-style: normal;
}

CSS:

.form-title {
    font-family: "HelveticaNeueLTCom25UltraLight";
    font-size: 45px;
    padding-bottom: 20px;
}

html:

<div class="form-title" style="margin-top:-20px;">
<a href="index.php" class="link">MY NAme</a></div>

上述字体系列在 chrome、firefox、safari 甚至在 ie9 和 ie10 中都可以正常工作,但在 ie8 中无法正常工作。如何让它在 IE8 中工作。

4

0 回答 0