CSS Menu Problem in Firefox
Posted: Sun Jun 11, 2006 8:13 am
I just made my a new website with cmsms.
Love the new features in version 0.13 ( pretty url ) !
However i get a problem with the menu in firefox.
The menu is 'static' and not generated by the menu manager.
In IE, i get the menu as i want, but in Firefox the menu does not appear.
You can view the website at : http://www.zwembadart.nl
I have made two stylesheets for the menu:
Dropdown.css:
.menu {font-family: arial, sans-serif; width:100%; position:relative; margin:0; font-size:10px; margin-left:0px; background:#3694CE}
.menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#000;width:115px; height:20px; text-align:center; color:#fff; border:1px solid #6699cc; background:#3694CE; line-height:20px; font-size:10px; text-transform:uppercase; font-style:bold; overflow:hidden;}
.menu ul {padding:0; margin:0;list-style-type: none; }
.menu ul li {float:left; margin-right:1px; position:relative;}
.menu ul li ul {display: none;}
/* specific to non IE browsers */
.menu ul li:hover a {color:#fff; background:#ccffff;}
.menu ul li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
.menu ul li:hover ul li a.hide {background:#3694CE; color:#fff;}
.menu ul li:hover ul li:hover a.hide {background:#3694CE; color:#000;}
.menu ul li:hover ul li ul {display: none;}
.menu ul li:hover ul li a {display:block; background:#ddd; color:#000;}
.menu ul li:hover ul li a:hover {background:#6fc; color:#000;}
.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;}
.menu ul li:hover ul li:hover ul.left {left:-105px;}
and
dropdown_ie.css
.menu ul li a.hide, .menu ul li a:visited.hide {display:none; text-transform:uppercase; font-style:bold}
.menu ul li a:hover ul li a.hide {display:none;text-transform:uppercase; font-style:bold}
.menu ul li a:hover {color:#fff; background:#ABC5E0;text-transform:uppercase; font-style:bold}
.menu ul li a:hover ul {display:block; position:absolute; top:21px; left:0; width:120px;}
.menu ul li a:hover ul li a.sub {background:#3694CE; color:#fff; }
.menu ul li a:hover ul li a {display:block; background:#3694CE; color:#ffff; }
.menu ul li a:hover ul li a ul {visibility:hidden;}
.menu ul li a:hover ul li a:hover {background:#ABC5E0; color:#ffff;}
.menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:105px; top:0; color:#000;}
.menu ul li a:hover ul li a:hover ul.left {left:-105px;}
I have tried bunch of things but i cannot solve the prob,
Hope anyone can help me with this one.
Kind regards,
Hamoedie
Love the new features in version 0.13 ( pretty url ) !
However i get a problem with the menu in firefox.
The menu is 'static' and not generated by the menu manager.
In IE, i get the menu as i want, but in Firefox the menu does not appear.
You can view the website at : http://www.zwembadart.nl
I have made two stylesheets for the menu:
Dropdown.css:
.menu {font-family: arial, sans-serif; width:100%; position:relative; margin:0; font-size:10px; margin-left:0px; background:#3694CE}
.menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#000;width:115px; height:20px; text-align:center; color:#fff; border:1px solid #6699cc; background:#3694CE; line-height:20px; font-size:10px; text-transform:uppercase; font-style:bold; overflow:hidden;}
.menu ul {padding:0; margin:0;list-style-type: none; }
.menu ul li {float:left; margin-right:1px; position:relative;}
.menu ul li ul {display: none;}
/* specific to non IE browsers */
.menu ul li:hover a {color:#fff; background:#ccffff;}
.menu ul li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
.menu ul li:hover ul li a.hide {background:#3694CE; color:#fff;}
.menu ul li:hover ul li:hover a.hide {background:#3694CE; color:#000;}
.menu ul li:hover ul li ul {display: none;}
.menu ul li:hover ul li a {display:block; background:#ddd; color:#000;}
.menu ul li:hover ul li a:hover {background:#6fc; color:#000;}
.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;}
.menu ul li:hover ul li:hover ul.left {left:-105px;}
and
dropdown_ie.css
.menu ul li a.hide, .menu ul li a:visited.hide {display:none; text-transform:uppercase; font-style:bold}
.menu ul li a:hover ul li a.hide {display:none;text-transform:uppercase; font-style:bold}
.menu ul li a:hover {color:#fff; background:#ABC5E0;text-transform:uppercase; font-style:bold}
.menu ul li a:hover ul {display:block; position:absolute; top:21px; left:0; width:120px;}
.menu ul li a:hover ul li a.sub {background:#3694CE; color:#fff; }
.menu ul li a:hover ul li a {display:block; background:#3694CE; color:#ffff; }
.menu ul li a:hover ul li a ul {visibility:hidden;}
.menu ul li a:hover ul li a:hover {background:#ABC5E0; color:#ffff;}
.menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:105px; top:0; color:#000;}
.menu ul li a:hover ul li a:hover ul.left {left:-105px;}
I have tried bunch of things but i cannot solve the prob,
Hope anyone can help me with this one.
Kind regards,
Hamoedie