CSS brainfart

Discussion in 'OT Technology' started by P07r0457, Feb 21, 2007.

  1. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    how can I fix this? I want no gaps between the three divs

    [​IMG]
     
  2. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
  3. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    It's the margin on the h1

    Add this to the CSS:

    h1 { margin: 0px; }
     
  4. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    Thanks, worked like a charm. :h5: :kiss:
     
  5. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,918
    Likes Received:
    9
    Location:
    Los Angeles
    Calm down there, young one. Don't want to have a heart attack at that young age of yours.

    But yeah as the guy above stated, a margin: 0px will fix your problem. There are gaps that h1, h2, h3, h4 will add. Additionally, you'll come across the same problem with the paragraph tag: <p>. Basically any tag that attempts a linebreak.
     
  6. Doc Brown

    Doc Brown Don't make me make you my hobby

    Joined:
    Mar 31, 2006
    Messages:
    16,404
    Likes Received:
    0
    Location:
    Ohio

    :h5::kiss: <<<< you and Peyomp are moving in together, aren't you...:squint:
     
  7. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    I kissed the other guy... not peyomp. I'm not sure I'm down for an island without women... If he had suggested an island with just us and many hot women, then I'd consider it further.
     
  8. Doc Brown

    Doc Brown Don't make me make you my hobby

    Joined:
    Mar 31, 2006
    Messages:
    16,404
    Likes Received:
    0
    Location:
    Ohio
    Peyomp is going to be jealous, you know that don't you.
     
  9. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    that's the plan :o
     
  10. Doc Brown

    Doc Brown Don't make me make you my hobby

    Joined:
    Mar 31, 2006
    Messages:
    16,404
    Likes Received:
    0
    Location:
    Ohio
  11. mr jenzie

    mr jenzie New Member

    Joined:
    Oct 20, 2002
    Messages:
    32,840
    Likes Received:
    0
    Location:
    OT'S SECRET G-MINOR PIZZA BRONY
    left, top positions dammit
     
  12. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    If you wanted to make someone jealous, why didn't you just say so :naughty:
    :smileysex :buttsex: :cuddle: :kiss:
     
  13. Doc Brown

    Doc Brown Don't make me make you my hobby

    Joined:
    Mar 31, 2006
    Messages:
    16,404
    Likes Received:
    0
    Location:
    Ohio

Share This Page