I'm trying to center a menu, got it to work (thanks to some help) in Netscape and Firefox, but it still won't center itself in IE or Opera.
link to the 'uncentered' menu (menu visible in all browsers):
http://139.142.233.18/menu.htm
link to 'centered' menu (menu is not visible in IE, Opera or Konqueror):
http://139.142.233.18/menu2.htm

Code that was added to menu2.htm:
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") { winW = window.innerWidth;
winH = window.innerHeight;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
winW=document.body.offsetWidth; winH = document.body.offsetHeight;
} }
var jsxO=parseInt((winW-800)/2)
if(jsxO<0)jsxO=0;
menu[0][0] = new Menu(false, '', jsxO, 0, 17, '#ffffff', '#ffffff', '', 'itemText');

Anyone have any ideas?
Thanks;
MBergen - JavaScript Newbie