IE glitch in menu
Posted: Wed May 10, 2006 3:44 pm
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;
}
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;
}