Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jun 2006
    Posts
    86
    Plugin Contributions
    0

    Default Re: IE Problem with space between divs at top

    I've researched many places on the web and can't find a solution for this. I may have to attempt a re-write of the css to solve this. I figured someone must have experienced the same problem and found a fix.

  2. #12
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: IE Problem with space between divs at top

    I am with kurio on this, you still have the nested tables and if this is what you desire then there is a shrinking group of people that can address this or have experience with it.

    If you rid it of the tables then there is a widening group that can address this problem using the things that we have direct experience with.

  3. #13
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,704
    Plugin Contributions
    11

    Default Re: IE Problem with space between divs at top

    the -1px margin should fix this if you use

    #headerWrapper{
    bottom-margin: -1px;
    }
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #14
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: IE Problem with space between divs at top

    Quote Originally Posted by maxima View Post
    I may have to attempt a re-write of the css to solve this.
    Bit unfair to blame your CSS for this. It looks fine and the site works perfectly in Firefox and Opera. This seems to be about IE's distaste for tables with nothing but images and right next to each other. I'm afraid that this isn't going away, the problem still manifests in IE7.

    Possible solutions
    1. as per dbltoe's suggestion: negative margin though would need to be more than -1px for IE7
    2. why have two tables at all (the problem is the gap between them), but these rows of images could be constructed as two rows of the same table
    3. making the cell in the header table empty (other than a  ) and putting the image as a background
    4. I know you've tried it already, but dropping the table stuff altogether

    As stated earlier, I don't work with tables like this so I can't vouch for 1-3, but they're the things I would try if I did.

    Nice job clearing up your HTML. The errors that are left are because HTML doesn't like "&" on its own. Should be "&". Shame about the header change - I really liked the old one (it was the main reason I didn't take one look, say tables, and run away!)
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #15
    Join Date
    Aug 2006
    Posts
    69
    Plugin Contributions
    0

    Default Re: IE Problem with space between divs at top

    Just a thought on this ....

    explicitly setting cellspacing and cellpadding to 0 frequently helps with unexpected white space around table cells.

    W

  6. #16
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: IE Problem with space between divs at top

    distanceDemon,

    Great point and one that was already accounted for with the code from the site:
    Code:
    <table id="headtable" border="0" cellpadding="0" cellspacing="0" width="100%">

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. White Space between top banner & define_main_page
    By carol2848 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Feb 2012, 08:51 AM
  2. Eliminate Space between Top Nav Bar and Header Image
    By C_R_C in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 May 2010, 11:33 PM
  3. Get rid of white space between header and top menu
    By lagvoid in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Feb 2008, 01:20 AM
  4. White space between Header Logo and Top of Side Box
    By xman888 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jan 2008, 08:43 AM
  5. Increase space between navCatTabs in top navigation bar?
    By efghijk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Jul 2007, 03:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg