Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    30
    Plugin Contributions
    0

    Default white space under header in IE (already did clearBoth fix)

    here's the site -- it's an initial install of 1.3.5 with a few mods.

    in IE6, there's a 2 or 3px white line separating the bottom edge of the header image (logo.gif) and the top edge of the grey bar below it (div = navcattabs, but including breadcrumb and search_header instead of the category tabs).

    there's no such line in firefox. i haven't had the chance to check in safari.

    i've seen the earlier threads on this issue. the accepted solution is to delete the clearBoth break after the eof branding display. i've done that, and the space got smaller, but it's still there.

    i can get rid of it by setting the margin-top of navcattabs wrapper to -2px in stylesheet.css, but that has the same effect in firefox. so the space disappears in IE at the cost of having the logo.gif image overlaps the top of the navcattabs bar by those same 2 pixels in firefox.

    i've searched through the forums for another solution, but if there is one, i haven't been able to make it work.

    can anyone help?

  2. #2
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    I am having the same issue! Does it look like my screen shot? I do not see it on your site.
    Attached Images Attached Images  

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

    Default Re: white space under header in IE (already did clearBoth fix)

    Try locating your navigation code and what you have defined as .masthead in the tpl_header.php file and use the Zen def's so that this responds to tweaks that work for Zencart.

    As you have altered this with your 2 or more def's for these items and I can not determine what might correct it.
    Zen-Venom Get Bitten

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

    Default Re: white space under header in IE (already did clearBoth fix)

    awoman,

    without your site url...I would guess that yours is an ezpage placeholder issue.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    Try locating your navigation code
    you mean the code for navcattabs? it's very brief, and in my tpl_header.php:
    Code:
    <!--bof-optional categories tabs navigation display-->
    <?php //require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <div id="navCatTabsWrapper">
    	<div id="navCatTabs">
    	<!-- bof breadcrumb -->
    <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <!-- eof breadcrumb -->
    <div align="right"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    </div>
    </div>
    <!--eof-optional categories tabs navigation display-->
    and what you have defined as .masthead in the tpl_header.php file
    i don't know what you mean by masthead. do you mean the logo wrapper? hte word "masthead" isn't in my tpl_header file and didn't show up in a site-wide developer's toolkit search.

    and use the Zen def's so that this responds to tweaks that work for Zencart.
    as far as i remember, i haven't altered the definitions of any of the div's. i've edited tpl_header only by cutting and pasting and commenting out items i don't want. i also changed some of the align= , i think.

    am i understanding you correctly?

  6. #6
    Join Date
    Sep 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    just to compare, i went back and uploaded the template_default/common tpl_header.php file with the only change being removing the clearBoth break at the end of the branding display.

    same problem.

  7. #7
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    Hi Kobra,
    I have ez pages turned off.

  8. #8
    Join Date
    Dec 2006
    Location
    Vancouver Island, BC
    Posts
    50
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    I have a display problem, not whitespace, but this is the closest I have found on the forum to my issue. Logo/masthead is not fitting/overlapping in IE even though it displays fine in FireFox: www.narnia-productions.com. I've changed the settings re: header and logo information, which is why it is fine in FireFox, but don't know what the problem is when displaying in IE. Any clues?

  9. #9
    Join Date
    Dec 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    maybe your problem is related the css support of IE. I had the same problem and I think you could try using different styles for IE and firefox:

    .whateverstyle {
    margin: 2px; /*all browsers*/
    *margin: 0px; /*IE 6 and 7 only*/
    }

    there is a trick called underline (_margin) that works for IE 6 but not for IE 7.
    www.demo1.adn.es. Stylesheet is: http://www.demo1.adn.es/includes/tem...stylesheet.css

    There is only one problem about using this trick and its that the css wont validate. Hope that helps you.

  10. #10
    Join Date
    Dec 2006
    Location
    Vancouver Island, BC
    Posts
    50
    Plugin Contributions
    0

    Default Re: white space under header in IE (already did clearBoth fix)

    Quote Originally Posted by solucionoproblemas View Post
    maybe your problem is related the css support of IE. I had the same problem and I think you could try using different styles for IE and firefox:

    .whateverstyle {
    margin: 2px; /*all browsers*/
    *margin: 0px; /*IE 6 and 7 only*/
    }

    there is a trick called underline (_margin) that works for IE 6 but not for IE 7.
    www.demo1.adn.es. Stylesheet is: http://www.demo1.adn.es/includes/tem...stylesheet.css

    There is only one problem about using this trick and its that the css wont validate. Hope that helps you.
    Thanks, I'll try this- it would go in the css for my template, I'm guessing. Does it matter where it goes re: the css code?

 

 

Similar Threads

  1. Large White space under header in IE 7
    By s0nicstang in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Apr 2011, 11:17 PM
  2. Help removing white space under Header
    By injected in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Mar 2010, 12:54 AM
  3. White Space under my logo header?
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 May 2009, 04:03 AM
  4. Unwanted white space under header image
    By vito in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Oct 2008, 08:07 PM
  5. small white space under header
    By rocketrod in forum General Questions
    Replies: 7
    Last Post: 10 Dec 2007, 08:46 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