CSS Menu Problem in Firefox

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
hamood
Forum Members
Forum Members
Posts: 18
Joined: Sat Apr 15, 2006 7:00 pm

CSS Menu Problem in Firefox

Post by hamood »

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
Offline marketing sucks !
gesi

Re: CSS Menu Problem in Firefox

Post by gesi »

hallo hamood,

I have the same problem with cmsmenuevert
I found one way to solve the problem is to swicht to relativ position => position:absolute becomes position:relative;
Try it. I found out that this may work (but not in my case but I try to solve the problem with ths fire fox crap)
cheers
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CSS Menu Problem in Firefox

Post by Dr.CSS »

gesi

What kind of problem are you having, do you have a link to get a look?
Post Reply

Return to “Layout and Design (CSS & HTML)”