Menu in table cell too short in IE 5

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
thehenryfam
Beginner
Beginner
Posts: 7
Joined: Thu Apr 21, 2005 5:58 pm

Menu in table cell too short in IE 5

Post by thehenryfam »

My main menu is inside a table cell. In the style I have specified the menuwidth to be 750px. This works great in every browser I have tested except IE 5 for the Mac. On that browser the menu only extends as far as is needed to list all the menu items. It leaves a large gaping hole from that point to the right margin.

Anyone know of a way to get around this? Fortunately it's just a cosmetic thing -- the menu seems to function fine in that browser.

Thanks,
Scott
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Since it is in a table cell, instead of specifying 760, have your tried menuwidth="100%"; I'm sorry I don't have a Mac, so I'm just kind of mentioning things off the top of my head. I think since it's in the cell and is bound to the cell relative position that might work, though I have not tried it in any browser so I don't know what happens when you do that in a table bound menu.

If you have a test page where people could get and test the menu it might help.

As a final mention, IE5 Mac is a dead browser, it is no longer developed nor supported by Microsoft. Internet Explorer Mac Problems This explains the problems with table bound menus in IE on Mac and why it happens.

Ruth
thehenryfam
Beginner
Beginner
Posts: 7
Joined: Thu Apr 21, 2005 5:58 pm

Post by thehenryfam »

Thanks, Ruth. Yes, I tried 100%. It does the same thing. I have both a Mac and PC which comes in handy for testing.

Yes, the last time I checked, IE for Mac was used by fewer than 1% of web site visitors. So I'm not going to worry about a small cosmetic "flaw" for that browser. Just thought I would ask in case it was an easy fix.

Thanks,
Scott
thehenryfam
Beginner
Beginner
Posts: 7
Joined: Thu Apr 21, 2005 5:58 pm

Post by thehenryfam »

I just wanted to report back in case anyone else was having this problem.

It turns out this was caused by using menuwidth="750px" instead of menuwidth=750 (just the number and no quotes). It works fine now. I guess Mac/IE is just picky that way.

Scott
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Thanks so much for posting your findings. That will be a help to others with the same problem.

Ruth
Post Reply