Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:47
Strange IE5 behaviour
Poster: Andy
Dated: Friday January 25 2002 - 23:46:57 GMT
Hi,
I tested my first simple menu today and found some oddity with how IE5.01 behaves (on Win98SE). It could be my fault or the browser's ... I don't know. I have put up all the info and the menu testpage here:
http://www.temperatezones.com/index-testmenu.html
I'd really appreciate it if anyone could have a look and let me know whether there are any fixes/workarounds for the IE5 and Opera5/6 annoyances.
Also, since I can't test on a Mac, any Mac-feedback is highly welcome.
Regards,
B.
Re: Strange IE5 behaviour
Poster: Anonymous
Dated: Sunday May 19 2002 - 19:51:17 BST
Hi,
Problem 1 is due to the fact that you have "text-align:center; /* Hack for IE5/Win */" in the body part of your style sheet. I'm not sure what this is trying to hack but would have thought that using <center> would do the same thing.
Problem 2 is due to the width of the menu. if you see this happen it is because you have the width set to low. download.com is taking up too much width.
Problem 3 is a bug that I'm working on right now and I should have a fix later today.
The menu is a little buggy in the Mac but the newest version should cure all the known Mac evils.
Cheers
Andy.
Re: Strange IE5 behaviour
Poster: Anonymous
Dated: Sunday May 19 2002 - 19:51:18 BST
Thanks a lot for your reply, Andy.
The reason for the /* Hack for IE5/Win */ is that IE5 cannot handle the CSS box model correctly - as documented by Tantek Celik
http://www.tantek.com/CSS/Examples/boxmodelhack.html
and discussed by designers such as Zeldman and at alistapart.com.
However, now that I know the problem, I'll try fiddling with different CSS layout solutions.
And sorry - but <center> is out That's HTML3 ...
Regards,
B.