Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    90
    Thanks
    24
    Thanked 2 Times in 2 Posts

    @font-face issues

    Hey guys,
    I've followed the directions from Font Squirrel for using @font-face cross browser but I'm getting no results.

    The URL: http://www.isomham.com/test/about.html

    My first priority is fixing my class "bodyCopy".
    Any ideas?
    Thanks again.

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Put the declaration at the top.

  • Users who have thanked Apostropartheid for this post:

    pennella (07-27-2011)

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    90
    Thanks
    24
    Thanked 2 Times in 2 Posts
    I put it at the top of my css and still no results. You can view it with the link I posted earlier.

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,666
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    Code:
    @font-face {
        font-family: 'AvianRegular';
        …
    .tHead {
    	font-family: Avian, "Lucida Sans Unicode", "Lucida Grande", sans-serif;
        …
    Notice any difference?

  • Users who have thanked VIPStephan for this post:

    pennella (07-27-2011)

  • #5
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    "http://www.isomham.com/test/css/resources/avian-webfont.eot" does not exist; your URLs are wrong. Fix them and the problem should resolve itself. Remember, URLs are relative to the file from which they are referenced.

    (PS, I said move, not copy. It is traditional to put at-rules at the top of the document.)

  • Users who have thanked Apostropartheid for this post:

    pennella (07-27-2011)

  • #6
    New Coder
    Join Date
    Mar 2009
    Posts
    90
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Fixed. I just changed the font face call sign to Avian instead of Avian-Regular.
    Thank you guys!


  •  

    Posting Permissions

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