Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Embedding font problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38006
    milesperhour
    Member

    Does anyone know why this font is not working, i have the CSS code in my style sheet from font squirrel but its telling me i have an error and it looks like this.

    Error parsing styles

    Affects: Internet Explorer 6.0

    My css code also looks like this.
    @font-face {
    font-family: ‘HitchcockRegular’;
    src: url(‘hitchcock-webfont.eot’);
    src: url(‘hitchcock-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘hitchcock-webfont.woff’) format(‘woff’),
    url(‘hitchcock-webfont.ttf’) format(‘truetype’);
    font-weight: normal;
    font-style: normal;

    }

    #102643
    Paulie_D
    Member

    Without a link it’s tough to tell but my guess is that you haven’t specified the src of the fonts correctly.

    Are they not in a ‘font’s folder? E.G.

    src: url('../fonts/hitchcock-webfont.eot');
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.