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 5 of 5

Thread: Assign font

  1. #1
    Regular Coder
    Join Date
    Jan 2007
    Posts
    123
    Thanks
    20
    Thanked 1 Time in 1 Post

    Assign font

    Hi,
    Is is possible to assign a font to use with CSS from a file. Like sIFR just not with it.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    You can specify a font like this for any tag. However you cannot download a new font that isn't installed, which is why I placed a list of fonts to choose from if available.
    Code:
    p {
    font-family: Verdana, Arial, "Time New Roman", serif;
    }

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Quote Originally Posted by jeremywilken View Post
    However you cannot download a new font that isn't installed, which is why I placed a list of fonts to choose from if available.
    * In the current implementation of web standards: I believe Safari and Mozilla have recently added the @font-face CSS3 rule, and Internet Explorer has had a partial implementation since version 4 (however, this only works with fonts in the proprietary .eot file extension.)

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Quote Originally Posted by CyanLight View Post
    * In the current implementation of web standards: I believe Safari and Mozilla have recently added the @font-face CSS3 rule, and Internet Explorer has had a partial implementation since version 4 (however, this only works with fonts in the proprietary .eot file extension.)
    Cyan...you just muddy the waters every time.

    Basically its impractical for the most part in today's web. In a few years, perhaps it will be possible.

  • #5
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    You love me and you know it ^^ Besides, every little helps. If you believe what Tesco tells you.


  •  

    Posting Permissions

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