Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:51
Menu has problems in Firefox
Poster: overdubn
Dated: Sunday October 15 2006 - 20:40:28 BST
My menu (version 5) works perfectly with Internet Explorer, all versions. However, when attempting to open a scroll down list in Firefox, the menu width spreads across the entire page. This can be viewed at the following web site:
http://prosoundforum.com
Poster: Ruth
Dated: Sunday October 15 2006 - 22:49:27 BST
Hi,
It's this line in your style sheet
Code:
TABLE {
MARGIN-LEFT: auto; MARGIN-RIGHT: auto
}
MARGIN-LEFT: auto; MARGIN-RIGHT: auto
}
Generic codes in a style sheet such as table, td, tr and margin in some browsers end up being applied to the menu programming. The only fix I know is to either remove it, or to use class codes for those generic codes.
Ruth
Poster: overdubn
Dated: Tuesday October 17 2006 - 0:31:59 BST
Ruth wrote:
Hi,
It's this line in your style sheet
Generic codes in a style sheet such as table, td, tr and margin in some browsers end up being applied to the menu programming. The only fix I know is to either remove it, or to use class codes for those generic codes.
Ruth
It's this line in your style sheet
Code:
TABLE {
MARGIN-LEFT: auto; MARGIN-RIGHT: auto
}
MARGIN-LEFT: auto; MARGIN-RIGHT: auto
}
Generic codes in a style sheet such as table, td, tr and margin in some browsers end up being applied to the menu programming. The only fix I know is to either remove it, or to use class codes for those generic codes.
Ruth
Thanks you Ruth, for the response;
I have tried this and yes, it does fix the menu problem in Firefox, but I have played with scenarios of eliminating the generic code definition and it just is not practical with this site to re-write and re-define everything.
The problem would appear that with Firefox or any browser, the Melonic menu should ignore anything defined by the external style sheet or at least there should be an option to turn on or off the include of "css". Is there any way the menu code can be fixed, as I cannot use this menu because of the way it works in Firefox.
Poster: Ruth
Dated: Tuesday October 17 2006 - 3:09:16 BST
Hi,
Yep, I'm sure there's a fix, I will ask Milonic. The problem is that I don't do much css so not sure how to do it. They will respond pretty quickly, they are very good about it. I'll post back when I have it.
Hmm, one thing I just thought, do you have to have the auto as the margin? I never tried changing that but I remember something about that auto causing problems. Can you try setting the margin to something else and see if that fixes it, in the meantime I'll contact Milonic.
Ruth
Poster: Andy
Dated: Friday October 20 2006 - 19:06:11 BST
Hi,
Unfortunately, CSS will apply itself to ALL HTML objects that the menu uses, this includes DIV's, TABLE's, TR's, TD's and A's - There is no way to switch this off but you can override the value by specifying an actual property or applying a separate style for each object.
I looked at http://prosoundforum.com but couldnt see a problem. Can you confirm what I'm supposed to be seeing, a screen grab would be great.
Cheers,
Andy