How to css code h1 so it isn't massive?

Discussion in 'CSS' started by bookworm-seo, Sep 7, 2006.

  1. #1
    I use h1s and header tags in my seo work, but they look massive. how do i css it so they look reasonable?
     
    bookworm-seo, Sep 7, 2006 IP
  2. clay15

    clay15 Well-Known Member

    Messages:
    449
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    118
    #2
    something like this?

    <html>
    <head>
    <style type="text/css">
    h1 {font-size: 12px; font-weight: bold; }
    </style>
    </head>
     
    clay15, Sep 7, 2006 IP
  3. bookworm-seo

    bookworm-seo Peon

    Messages:
    133
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Great! Thanx a lot clay! Can you recommend any good resources as an intro to css? I'm looking for something digestible, not too long, but that will still teach me the basics I should know...
     
    bookworm-seo, Sep 8, 2006 IP
  4. sofaq

    sofaq Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Another, more simple, way to code that would be:

    <h1 style="font-size:16px;">This Header Will Be 16 Pixels</h1>



    Or, in an external style sheet:

    .headers
    {
    font-size:16px;
    }

    Then in the page coding, link to the stylesheet and:

    <h1 class="headers">This Header Will Be 16 Pixels</h1>
     
    sofaq, Sep 8, 2006 IP
  5. clay15

    clay15 Well-Known Member

    Messages:
    449
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    118
    #5
    clay15, Sep 8, 2006 IP