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
    Nov 2005
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile How do I embed a font onto a website?

    Hello

    I am not sure if this is the wright place to ask this question but, I need to embed two fonts for my website to look the way I want it to look. I don't know how to do this. Does any one have an answer?

    Thanks again for all your help - Joseph

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,639
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Web pages are displayed using the fonts on your visitors' computers. There is a CSS command for referencing fonts on the server but few browsers have implemented it and with current thinking being that your visitors should be able to display pages that look the way that they want, it is unlikely that browsers will ever implement it.

    Web pages can be divided into three parts.

    1. Content defined using HTML controlled by the page author.
    2. Appearance defined using CSS suggested by the authot but can be easily overridden by visitors.
    3. Behaviour defined using Javascript specified by the author and/or visitor (with the visitor having the final say).

    The only thing a web author has complete control over is the content of their page.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts
    How much text is this for? You could always use images if it's just small parts.

  • #4
    New Coder
    Join Date
    Nov 2005
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you both very much I appreciate your helping me to understand this issue. Yes I can use a graphic but that was my reason for going over to text to avoid the upload time of a graphic.

    I found a script at DynamicDrive.com that creates 3D text affects. I modified it so I can display a 3D floating affect of our company name. You can see this at http://melodygrove.com/tmp/Cost_Estimator.html

    Thank you again - Joseph

  • #5
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    860
    Thanks
    50
    Thanked 6 Times in 5 Posts
    Not sure if this works, but I'm going to give it a try soon. I guess there are significant downsides though - as the page indicates:

    http://www.netmechanic.com/news/vol3/css_no15.htm

    I mean, the poor user has to download the font!

  • #6
    New Coder
    Join Date
    Nov 2005
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello tpeck,

    Thank you very much for the link to netmechanic newsletter.
    I have used netmechanic before and appreciate what they have to offer.
    I am going to give what they suggest a try and see what happens.

    Thank you again so very much for passing this info on to me.

    Joseph


  •  

    Posting Permissions

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