Font-face problem from a single source

-2

I'm having trouble with a font on a website I'm developing. The font name is modern # 20 , I made her font-face and it's not working. Is my code correct?

@font-face {
    font-family: 'modern';
    src: url('../fontes/modern-no-20-webfont.eot');
    src: url('../fontes/modern-no-20-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fontes/modern-no-20-webfont.woff') format('woff'),
        url('../fontes/modern-no-20-webfont.ttf') format('truetype'),
        url('../fontes/modern-no-20-webfont.svg#modern') format('svg');
    font-weight: normal;
    font-style: normal;
}

.bannerPTextoL1 {
    font-family: "modern";
    font-size: 300px;
    color: #001f2e;
    text-transform: uppercase;
    text-align: center;
    width: 1920px;
    overflow: hidden;
    line-height: 300px;
}
    
asked by anonymous 20.01.2015 / 12:08

1 answer

1

Well, from what I saw the source works correctly.

As it is (download the source made directly from the url cited):

andremovingthecomment<!---->fromthepartofthesitewhereDIVwithclass.bannerPTextoL1islocatedandapplyingthestylequotedasyoucanseeintheimage,thisisdone(Iputawhitecolorforeasiervisualization):

There are no differences, your font-face works correctly. You probably should have downloaded an incorrect font thinking it would be the right one.

    
22.01.2015 / 18:37