Page 1 of 1

IE glitch in menu

Posted: Wed May 10, 2006 3:44 pm
by scotch33
Can anyone help?  I have a glitch in my second level navigation in internet explorer - when you move from one button to another the buttons disappear. 

The site is www.paradacars.com

the menu css that I am using is copied below.

Thanks!
John.

#menuwrapper {
        width: 155px;
}

/* Unless you know what you do, do not touch this */
 
#primary-nav, #primary-nav ul {
list-style: none;
margin: 0px;
padding: 0px;
width: 100%;
        margin-left: -1px;
}
#primary-nav ul {
position: absolute;
top: 0;
left: 100%;
display: none;
}
#primary-nav li {
        margin-bottom: 3px;
position: relative;
        height: 27px;
        width: 155px;
        text-align: right;
}

#primary-nav li  li{
        margin-bottom: 0px;
position: relative;
        height: 27px;
        width: 155px;
        text-align: right;
}

/* Styling the basic apperance of the menu elements */

#primary-nav a {
display: block;
margin: 0px;
padding: 5px 0px;
text-decoration: none;
        color: white;
        font-style: italic;
}

#primary-nav li, #primary-nav li.menuparent {
        width: 150px;
        padding-right: 5px;
background-image: url(look/nav/butoff.gif);
        background-repeat: no-repeat;
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive {
background-image: url(look/nav/butoff.gif);
        color: white;
}

#primary-nav li.menuactive:hover {
background-image: url(look/nav/buton.gif);
        color: white;
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav li.menuparent, #primary-nav li.menuparent:hover, #primary-nav li.menuparenth {
background-image: url(look/nav/butoff.gif); 
background-position: center right;
background-repeat: no-repeat;
}

/* Styling the apperance of menu items on hover */

#primary-nav li:hover, #primary-nav li.menuh, #primary-nav li.menuparenth, #primary-nav li.menuactiveh {
background-image: url(look/nav/buton.gif); 
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul {
display: none;
}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul,
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul {
display: block;
        margin-left: 0px;
}

Re: IE glitch in menu

Posted: Wed May 10, 2006 9:19 pm
by Dr.CSS
do you have the infamous,,





in your header?

Re: IE glitch in menu

Posted: Mon May 15, 2006 6:29 pm
by scotch33
Ah, no I don't - should I have?

Re: IE glitch in menu

Posted: Mon May 15, 2006 8:37 pm
by Dr.CSS
yes... if you use any of the CSSMenus' Firefox and other standards compliant browsers understand CSS, IE needs the JS help, the poor thing  :( ,

  mark

Re: IE glitch in menu

Posted: Tue May 16, 2006 3:51 pm
by scotch33
well - i have added this into one of my templates as a test and unfortunately the same issue is still happening in pesky ie.  Is there any other way around this?  Its causing a real problem for my dropdowns.  If anyone could look at the above css and try to spot a glitch I am happy to do something in return - graphics is my thing - Photoshop in particular.  Quid pro quo anyone?

Re: IE glitch in menu

Posted: Tue May 16, 2006 4:27 pm
by Dr.CSS
i can't test it but try....

#primary-nav li li{
        margin-bottom: -2px;
position: relative;
        height: 27px;
        width: 155px;
        text-align: right;
}

  mark