demonseed
Junior Member
Posts: 2
Registered: 1/28/2004
Member Is Offline
|
| posted on 2/11/2004 at 09:18 AM |
|
|
Why aren't menu sizes correct in Gecko browsers?
I'm really puzzled. The menu's width is set to 140 in the MENU_POS array, however, in Mozilla and Netscape the menu's width is 148. How
can this be?
I'd prefer not to have separate JS's loaded for each browser (due to maintenance reasons) so is there a way to easily change just this one
property using JS at the top of the calling page if Mozilla is detected?
I've tried to use array.splice, concat etc but it doesn't work.
Any help would be greatly appreciated.
Thanks
:: demonseed ::
|
|
|
tigra
Administrator
Posts: 1990
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/14/2004 at 06:59 AM |
|
|
The problem is probably caused by CSS settings for margin/padding. Different browsers may render the same settings in different ways. Try playing with
different values. If nothing helps then try formatting the items using very generic inner HTML.
|
|
|