SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2004
    Location
    boston, ma
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mystery space between divs

    Hi Folks,

    Problem page: http://egc.vrmenterprises.com/

    There is a mysterious space between my header div and holder-bkdg div indicated by the dark line between the divs.

    Your help is appreciated.

    Sincerely,
    VRM

  2. #2
    SitePoint Zealot marbly's Avatar
    Join Date
    Nov 2005
    Location
    Croatia
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I only skimmed through it but I think the culprit is the top 14px margin of the p.tagline located in mainContent, just bellow the gap, that margin is sticking out of the container.

    Try giving the #mainContent a 14px top padding instead of giving margin to p.tagline or something along that way.

    This usually hapens when you have big containers margin set to 0 and some inside elements margins non-zero - they stick out. Smart padding usually helps.

    http://www.complexspiral.com/publica...psing-margins/


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
  •