Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    IE6 Suckerfish Problem

    Hi and thanks for taking the time to pop in here. I am having an issue I can't resolve with IE6 and a vertical suckerfish menu. When I hover over the item with the dropdown, the page expands leaving whitespace the exact height of the nexted <ul> like this:



    Here is a link to the site.

    Anyone know how to fix this?

    Thanks!!

  • #2
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    HI,

    Just browsing your css, looking for the relevant part and I found this, which could be simplified.

    Code:
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	outline: 0;
    	font-size: 100%;
    	vertical-align: baseline;
    	background: transparent;
    }
    could be
    Code:
    *{
    margin:0;
    padding:0;
    border:0;
    }

    found this too. you can reduce tis to one section pretty much by putting it into the ul li section. no need to gives classes or id's wehn the 'default' can hold the reqwuired style data. so change this

    Code:
    #menu li{position:relative; float:left;}
    
    #menu a{ margin:0px; padding:0px; display:block; width: 206px; height: 30px; text-indent:-9999px; border: none; }
    
    #menu li a {overflow: auto; /*force hasLayout in IE7 */}
    
    #menu a:hover{border:none;}
    
    #menu-top {margin:0px; padding:0px; width:206px; height:12px; display:block; background:url(../!images/menu.gif) no-repeat 0px 0px;}
    
    #menu-about a, #menu-about a:visited{width:206px; background:url(../!images/menu.gif) no-repeat 0px -12px;}
    
    #menu-services a/*, #menu-services a:visited*/{width:206px; background:url(../!images/menu.gif) no-repeat 0px -42px;}
    
    #menu-training a, #menu-training a:visited{width:206px; background:url(../!images/menu.gif) no-repeat 0px -72px;}
    
    #menu-testimonials a, #menu-testimonials a:visited{width:206px; background:url(../!images/menu.gif) no-repeat 0px -102px;}
    
    #menu-offices a, #menu-offices a:visited{width:206px; background:url(../!images/menu.gif) no-repeat 0px -132px;}
    
    #menu-links a, #menu-links a:visited{width:206px; background:url(../!images/menu.gif) no-repeat 0px -162px;}
    
    #menu-contact a, #menu-contact a:visited{width:206px; background:url(../!images/menu.gif) no-repeat 0px -192px;}
    
    #menu-bottom {margin:0px; padding:0px; width:206px; height:13px; display:block; background:url(../!images/menu.gif) no-repeat 0px -222px;}

    to more like this

    Code:
    #menu li {
    margin:0px;
    padding:0px;
    width:206px;
    height:12px;
    display:block;
    background:url(../!images/menu.gif) no-repeat 0px 0px;
    }
    You can remove the red bits as well because they are already set to '0' in your css (see my first two 'code' sections).

    Finally, for now, the ul li section may need to be position:absolute; to break them out of flow and stop that happening in ie6.

    pm sent to you

    bazz
    Last edited by bazz; 06-10-2009 at 08:48 PM.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

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