SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Skills to Pay the Bills Sparkie's Avatar
    Join Date
    Jul 1999
    Location
    A cave with 47 computers and an internet feed
    Posts
    3,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs down Embedded Fonts not Showing

    What am I doing wrong here?

    <style type=text/css>
    @font-face {
    font-family: Tempus Sans ITC;
    font-style: normal;
    font-weight: normal;
    src: url(embeddedfonts/TEMPUSS1.eot);
    }
    @font-face {
    font-family: Tempus Sans ITC;
    font-style: normal;
    font-weight: 700;
    src: url(embeddedfonts/TEMPUSS0.eot);
    }
    @font-face {
    font-family: Tahoma;
    font-style: normal;
    font-weight: 700;
    src: url(embeddedfonts/TAHOMA1.eot);
    }
    @font-face {
    font-family: Tahoma;
    font-style: oblique;
    font-weight: 700;
    src: url(embeddedfonts/TAHOMA0.eot);
    }

    a:active, a:visited, a:link, a:hover {
    text-decoration: none;
    font: bold 1em "Tempus Sans ITC", sans-serif;}

    a:active {color: #8B3A3A;}

    a:visited {color: #336666;}

    a:link {color: #8B3A3A;}

    a:hover {color: #4B0082;
    font-size: 110%}

    H1 {font-size: 100%}

    body {
    scrollbar-highlight-color: #4B0082;
    scrollbar-3dlight-color: #D8BFD8;
    scrollbar-shadow-color: #4B0082;
    scrollbar-base-color: #336666;
    scrollbar-DarkShadow-Color: #336666;
    scrollbar-arrow-color: #D8BFD8;
    scrollbar-face-color: #336666;
    scrollbar-track-color: #F0F8FF;
    }
    -->
    </style>

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well last I read no browser actually supported embedding through that method. Both Microsoft and Netscape have released proprietary embedding methods. You will have to go to their sites and search for it.

    Microsoft uses a tool called "WEFT" to create embedded font files and attach them to your HTML. Not sure what Netscape uses.

    Don't think Opera even supports embedding.
    Wayne Luke
    ------------


  3. #3
    Skills to Pay the Bills Sparkie's Avatar
    Join Date
    Jul 1999
    Location
    A cave with 47 computers and an internet feed
    Posts
    3,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I read (I believe it was on Netmechanic) that Netscape now supports WEFT. I looked for information on Bitstream's Portable Font Document, but they only support a limited number of fonts, and not the ones I need. That would've been a better solution since both Netscape 4+, IE 4+ and some Linux browsers support PFD's.

    Anyhow, I used WEFT 3 to get the top result of the CSS..ironic thing is..if I take out the top part, the fonts display fine (if you have it installed on your computer)
    Sherice Jacob - Web Improvement Expert
    Improve Website Conversions | eBook Covers
    Follow Me on Twitter!

  4. #4
    SitePoint Member Dogma's Avatar
    Join Date
    Jun 2001
    Location
    United States
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a few things on your code. First, I believe that font names that contain more then one words are supposed to be placed in quotes. Second, you should always offer aleternatives and a font family (serif, sans-serif).
    my Karma ran over your Dogma err my Dogma ran over your Karma
    CAK design Web and Graphic Design
    WebMafiaForums Admin


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •