SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Location
    Somewhere
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi everybody,

    I need some help with css.

    I want my fonts for say, H3, to be Arial, black and size 12.

    I appreciate your help.

    Thanks.

  2. #2
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume you rae talking about font size 12 points and not 12 pixels or whatever...

    h3 {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 12pt;
    color : Black;
    }

  3. #3
    SitePoint Enthusiast swoosh's Avatar
    Join Date
    Aug 2000
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good day ddeile,

    You can also use this in your stylesheet:
    Code:
    H3 { font: 12pt arial; color: black; }
    Hope that helps

  4. #4
    Kat's Meow Senior ******* WebKat's Avatar
    Join Date
    Jul 1999
    Location
    California USA
    Posts
    1,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This informative tip from Netmechanic may also help with CSS and Font Sizing:
    "Design Tip What Size is FONT SIZE"
    Dlynn :: SitePoint Senior Advisor ::
    PawPrint Designs by WebKat
    "Dogs come when they're called; Cats take a message and get back to you later." ~ Mary Bly

  5. #5
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by swoosh
    Code:
    H3 { font: 12pt arial; color: black; }
    Won't work well in Netscape 4.x though, so watch out.

  6. #6
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Location
    Somewhere
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, you guys are all very helpful.


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
  •