SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: code help

  1. #1
    SitePoint Zealot
    Join Date
    Nov 2002
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    code help

    hey guys how would I change this so it used <h1> tags

    .title { text-decoration:none; font-size:18px; font-weight:bold; font-family:arial,helvetica }

  2. #2
    SitePoint Guru dale_burrell's Avatar
    Join Date
    Aug 2002
    Location
    Wellington, New Zealand
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    h1 { text-decoration:none; font-size:18px; font-weight:bold; font-family:arial,helvetica }
    If you aren't living life on the edge
    - you're taking up too much space
    Creative Dreaming Ltd / Ask The Local / Amanzi Travel

  3. #3
    SitePoint Zealot
    Join Date
    Nov 2002
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can I make the space below a <H1> tag smaller?

  4. #4
    SitePoint Guru dale_burrell's Avatar
    Join Date
    Aug 2002
    Location
    Wellington, New Zealand
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by TwistedApathy
    How can I make the space below a <H1> tag smaller?
    h1 { text-decoration:none; font-size:18px; font-weight:bold; font-family:arial,helvetica; margin-bottom: 0px; }
    If you aren't living life on the edge
    - you're taking up too much space
    Creative Dreaming Ltd / Ask The Local / Amanzi Travel

  5. #5
    SitePoint Wizard
    Join Date
    Oct 2001
    Posts
    2,686
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, TwistedApathy.

    Please don't dobbel post your question.
    <H1> tag smaller?

    -Helge

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    You may also be able to use "line-height" to reduce space underneath.

  7. #7
    killall -9 lusers
    Join Date
    Oct 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, a larger line-height would give you more space on top. The caracters are attached to the bottom of the line.


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
  •