1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Fonts

Discussion in 'CSS' started by William, Jan 5, 2007.

  1. #1
    How do I specify a font for a certain style and tell the browser to take the font from mydomain.com/font if the visitor doesn't have the font installed on his computer? For example if I am using a custom font.
     
    William, Jan 5, 2007 IP
  2. AndrewR

    AndrewR Peon

    Messages:
    108
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I wouldn't recommend using custom fonts for pages, and if you absolutely need to (something for logos or headers), use an image for it. Or if by some chance they do have the font installed, in your CSS, use this:
    
    font-family: 'Customfont', secondary, third, fourth, sans-serif/serif;
    
    Code (markup):
    That gives the users browser to have more choices when picking a font, and every computer has either sans-serif of serif, so that will be the last choice if they don't have any of the above fonts.
     
    AndrewR, Jan 5, 2007 IP
  3. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes don't use customs fonts for contents instead use it in graphics only..
     
    weknowtheworld, Jan 5, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Dan Schulz, Jan 6, 2007 IP