SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: H2 wierdness

  1. #1
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    H2 wierdness

    Somehow, my CSS H2 declaration creates a huge gap above it. See, for example,
    www.clickbasics.com

    #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    color: #000000;
    line-height: 1.5em;
    margin: 0 0 20px;
    What am I missing?
    Paul C.
    ClickBasics
    http://www.clickbasics.com

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,085
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    That gap is not caused by the H2, but by #main which has padding: 40px 0 0;
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    Paul C.
    ClickBasics
    http://www.clickbasics.com


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
  •