Rounded corners & css hover menu popup trouble w/ firefox 1.5.0.(5|6)
Posted: Wed Aug 16, 2006 12:54 pm
CMSMS v 0.13.
I am attempting to use the technique detailed here: http://www.webreference.com/programming/css_borders/ to add rounded corners to a horizontal CSS menu in cmsms.
Here is the blurb from my template where I "attach" the rounded corner lines to the horizontal menu:
Navigation
{cms_module module='menumanager' template='cssmenu-accessible.tpl'}
This works, in that the fake "curves" are stacked on top and bottom of the menu. The trouble comes when I hover the mouse over one of the menu items to pop open a submenu. The tags that create the fake rounded corners end up displaying above the pop-up hover menu instead of below the pop-up hover menu.
The setup works in IE for windows (6.0) in that the tags remain below the popup menu. But I suspect that is due to the IE javascript that compensates for IE's lack of :hover for all elements in CSS.
In Firefox 1.5.0.6 for windows, and 1.5.0.5 for Linux, the tags display above the drop down menu, and I can't figure out what is causing them to display above the menu. I've tried position: relative and z-depth: on the tags, but neither fixes the display in FF Linux or FF Windows.
The CSS that is being applied to the tags for the round borders on the menu-bar is the following:
.b1, .b2, .b3, .b4 {
display: block;
height: 1px;
overflow: hidden;
background: #385C72;
font-size: 1px;
}
.b1 { margin: 0 5px; }
.b2 { margin: 0 3px; }
.b3 { margin: 0 2px; }
.b4 {
margin: 0 1px;
height: 2px;
}
div#menu_horiz * b { background: #ECECEC; }
#menuwrapper { border-bottom: none; }
Does anyone have any ideas as to what might be going wrong?
I am attempting to use the technique detailed here: http://www.webreference.com/programming/css_borders/ to add rounded corners to a horizontal CSS menu in cmsms.
Here is the blurb from my template where I "attach" the rounded corner lines to the horizontal menu:
Navigation
{cms_module module='menumanager' template='cssmenu-accessible.tpl'}
This works, in that the fake "curves" are stacked on top and bottom of the menu. The trouble comes when I hover the mouse over one of the menu items to pop open a submenu. The tags that create the fake rounded corners end up displaying above the pop-up hover menu instead of below the pop-up hover menu.
The setup works in IE for windows (6.0) in that the tags remain below the popup menu. But I suspect that is due to the IE javascript that compensates for IE's lack of :hover for all elements in CSS.
In Firefox 1.5.0.6 for windows, and 1.5.0.5 for Linux, the tags display above the drop down menu, and I can't figure out what is causing them to display above the menu. I've tried position: relative and z-depth: on the tags, but neither fixes the display in FF Linux or FF Windows.
The CSS that is being applied to the tags for the round borders on the menu-bar is the following:
.b1, .b2, .b3, .b4 {
display: block;
height: 1px;
overflow: hidden;
background: #385C72;
font-size: 1px;
}
.b1 { margin: 0 5px; }
.b2 { margin: 0 3px; }
.b3 { margin: 0 2px; }
.b4 {
margin: 0 1px;
height: 2px;
}
div#menu_horiz * b { background: #ECECEC; }
#menuwrapper { border-bottom: none; }
Does anyone have any ideas as to what might be going wrong?