I am using a template that I didn't create myself for a Joomla based website. I am trying to center a jquery menu and have spent hours going through all of the code and css and can't seem to find out how to do it! so, I've decided to create a little work around. I made a blank png image and put it to the left of the menu and have made it's width equal to the offset I want. This little hack works fine except that not all screens are the same size and so it isn't actually centered on most screens. I was wondering if anyone knew a dynamic way to calculate what exactly the center is so I can change the width of the blank png dynamically to that when the page loads?
Hope that makes sense and any help would be greatly appreciated