It does not solve everything, but if you add a fixed width (say, width: 700px
) to the <ul class="hor_nav">
, the menu is centered (however, the background does not persist through the full width of the page, but you have to set the background to a different element in order to support that).
You must specify a fixed width in order for margin-left: auto
and margin-right: auto
to center the element.
There is no such thing as position: center
. You can drop that one.
By the way, I notice the top logo is shrunk when you resize the page. Beware. ;)