Problem with @font-face

Status
Not open for further replies.

William

New member
Hello ! Thanks for this great software!

So I have a problem with my font with htmlexe.
In my css file, I have a custom font include with @font-face :
Code:
@font-face {
        font-family: 'coconregular';
        src: url(file:///C:/mes-sites-web/fonts/cocon-regular-webfont-webfont.eot);
        src: url(file:///C:/mes-sites-web/fonts/cocon-regular-webfont-webfont.eot?#iefix) format('embedded-opentype'),
             url(file:///C:/mes-sites-web//fonts/cocon-regular-webfont-webfont.woff) format('woff'),
             url(file:///C:/mes-sites-web/fonts/cocon-regular-webfont-webfont.ttf) format('truetype'),
             url(file:///C:/mes-sites-web/fonts/cocon-regular-webfont-webfont.svg#coconregular) format('svg');
        font-weight: normal;
        font-style: normal;
    }
.style {font-family:'coconregular';}
and in my html file :
Code:
<div class="style">My text</div>
But it seems not working with htmlexe. My text is in the default Times font.
How to solve this?

Thank you !
 
Status
Not open for further replies.
Back
Top