I am trying to center a table in my browser window. I find that if I let the table size itself that I can't find out what its size is. I have no problems getting the dimensions of the window itself but style.width and style.height are not usable unless they are set. Is there something like innerWidth for a table or other controls? I also need to know the variations in browsers, specifically IE (6 or later) and Firefox (Mac and Windows).
Thanks,
Leo
Thanks,
Leo
Comment