SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Jun 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Different weights for different fonts?

    Hello! This is my first post to the forum.

    How can I specify normal weight Arial Black as the preferred font,
    with Arial, Helvetica, or anything else as bold alternatives?

    -- Jeff, in Minneapolis

  2. #2
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can't.

  3. #3
    SitePoint Member
    Join Date
    Jun 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nobody can think of a way to do it?

    -- Jeff, in Minneapolis

  4. #4
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    html { font-family:Arial Black, sans-serif; }
    h1, h2, h3, h4, h5, h6, b, strong, th { font-family:Arial, sans-serif; }
    ...?
    Simon Pieters

  5. #5
    SitePoint Member
    Join Date
    Jun 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, Simon.

    I'm not sure your code does what I want. In trying to be brief,
    I may have made my request unclear.

    What I meant was that if Arial Black is available, it should be
    used. If it isn't available, then whatever font is selected needs
    to be made bold. The problem is to avoid giving Arial Black the
    bold attribute, because that font is bold enough as it is.

    -- Jeff, in Minneapolis

  6. #6
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, now I understand what you mean. No, it's not possible with CSS.
    Simon Pieters


Bookmarks

Posting Permissions

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