Well, if an absolutely positioned element is inside of a relatively positioned element, it will position itself relative to the relatively positioned element. So, you can do something like so (requires at least a loose transitional DOCTYPE):
HTML Code:
<body>
<div id="container" style="position:relative;width:780px;margin:0 auto;">
<div id="menu" style="position:absoute;left:50%;width:600px;margin-left:-300px;>
</div>
The rest of your page here
</div>
</body>
I've put the style inline just for illustration purposes. The container will be 780px wide and centered, the menu, if it actually has content making it appear 600px wide will appear centered.
Bookmarks