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:02
Different behaviour with IE6 & Mozilla
Poster: crgarner
Dated: Wednesday December 8 2004 - 16:15:59 GMT
My web page http://www.pettistree.suffolk.gov.uk/newpettistreetwo/ displays as I would like it under IE6, but the submenus look different under Mozilla. Under Mozilla the submenus are 750px wide with text centred. Any ideas, please?
Poster: Ruth
Dated: Wednesday December 8 2004 - 18:42:28 GMT
You're down level on the menu. v5.52, we are now at v5.63. Try upgrading and see if that fixes the problem. Make sure to keep the old files just in case.
Ruth
Poster: crgarner
Dated: Thursday December 9 2004 - 7:47:07 GMT
Now on 5.63 Still behaves in the same way!
Poster: Ruth
Dated: Thursday December 9 2004 - 17:54:03 GMT
The problem comes from the style sheet. I believe it is this line
Code:
TABLE {
MARGIN-LEFT: auto; MARGIN-RIGHT: auto
}
The other lines to do with tables may also do other things. I think you might have to make that a class if you must have it. If you remove that from the stylesheet the submenus on Netscape go back to normal size. As to the text being in different position, if you are making it all left, you might put text="left"; at the end of you menuStyle definition. Hope that helps.
MARGIN-LEFT: auto; MARGIN-RIGHT: auto
}
Ruth
Poster: crgarner
Dated: Thursday December 9 2004 - 20:49:29 GMT
Ruth
Many thanks. Converting the TABLE to a class in the style sheet solves the problem.
Poster: Ruth
Dated: Thursday December 9 2004 - 23:25:39 GMT
Chris,
I made a mistake about the left for the text. It's align="left"; I don't know where I go the text bit. As to the stylesheet problem. When you have differences between browsers, the first thing to check is the stylesheet. Usually, I remove it totally and see if the menu then functions OK. The menu is made up of tables, divs, spans etc, so stylesheets can cause some problem in different browsers, which can usually be solved by using class.
Ruth