IE7 Whitespace BUG when using Vetical Menu CSS
Posted: Thu Dec 14, 2006 4:32 pm
Hi all,
I am using CMSMS v1.0.2 but I am experiencing a problem with IE7 and the vertical menu CSS. Basically, if a link in the main menu has a child menu, a white space appears bellow that menu option and if the child menu also has submenu the same happens on the child menu.

I have noticed that the CSS itself already includes two lines that should fix the problem:
/* Styling the basic appearance of the menu elements */
#primary-nav a {
border: 1px solid #cccccc;
display: block;
padding: 5px 5px;
color: #333333;
text-decoration: none;
background: transparent;
min-height:1em; /* Fixes IE7 whitespace bug*/
}
#primary-nav li, #primary-nav li.menuparent {
background-color: #ffffff;
min-height:1em; /* Fixes IE7 bug*/
}
However the bug is still there. If I remove both min-height lines the white space no longer appears however the only part of the menu that actually works as a link is the text itself, therefore if I move the mouse to try and reach the sub-menu it quickly disappears.
I am at a loss and any help will be much appreciated.
Regards,
icebrian
I am using CMSMS v1.0.2 but I am experiencing a problem with IE7 and the vertical menu CSS. Basically, if a link in the main menu has a child menu, a white space appears bellow that menu option and if the child menu also has submenu the same happens on the child menu.

I have noticed that the CSS itself already includes two lines that should fix the problem:
/* Styling the basic appearance of the menu elements */
#primary-nav a {
border: 1px solid #cccccc;
display: block;
padding: 5px 5px;
color: #333333;
text-decoration: none;
background: transparent;
min-height:1em; /* Fixes IE7 whitespace bug*/
}
#primary-nav li, #primary-nav li.menuparent {
background-color: #ffffff;
min-height:1em; /* Fixes IE7 bug*/
}
However the bug is still there. If I remove both min-height lines the white space no longer appears however the only part of the menu that actually works as a link is the text itself, therefore if I move the mouse to try and reach the sub-menu it quickly disappears.
I am at a loss and any help will be much appreciated.
Regards,
icebrian