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
    Aug 2008
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Help me keep this font consistent

    Hi,

    I'm using a css font on my website however the font isn't a standard one hence it is not on most computers. how do i adjust my css code to ensure that the font displays correctly on every computer?????

    .title { font-family: Kozuka Gothic Pro R; font-size:30px; color:#000000;}

  • #2
    New Coder
    Join Date
    Jun 2012
    Posts
    42
    Thanks
    3
    Thanked 0 Times in 0 Posts
    As far as I know you can't force a font on people if they don't have that font already installed. You can specify backup fonts in your code though separated by commas in case they don't have that first font.

    .title { font-family: Kozuka Gothic Pro R, Arial, sans-serif; font-size:30px; color:#000000;}

  • #3
    New Coder
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Oh okay, Just that for example when i'm using the computer without the font installed on my website it doesn't show, but i visited another website which is using the same font on that very same computer and it showed. hence i thought something could be done

  • #4
    Regular Coder
    Join Date
    Dec 2011
    Posts
    201
    Thanks
    12
    Thanked 26 Times in 26 Posts
    I like to load special fonts via google.

    here is a similar font

    http://www.google.com/webfonts?famil...Family:PT+Sans
    Last edited by SeattleMicah; 06-06-2012 at 07:58 AM.

  • #5
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 Posts
    Modern browsers support @font-face, which allows you to upload a font for use on your site - this is what Google fonts uses.

    If you need to create your own @font-face resource, have a look at FontSquirrel.

  • #6
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Font Consistent

    Using the font you mentioned above will probably not work in a low configured system, then you might use the code given in the first reply....


    Helen wojick

    www.swingersocial.com


  •  

    Tags for this Thread

    Posting Permissions

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