Menu has problems in Firefox

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
overdubn
Beginner
Beginner
Posts: 2
Joined: Sun Oct 15, 2006 8:33 pm

Menu has problems in Firefox

Post by overdubn »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

It's this line in your style sheet

Code: Select all

TABLE {
	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
overdubn
Beginner
Beginner
Posts: 2
Joined: Sun Oct 15, 2006 8:33 pm

Post by overdubn »

Ruth wrote:Hi,

It's this line in your style sheet

Code: Select all

TABLE {
	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. :cry:
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
Post Reply