You'll need to provide a link to your site if you want to get some specific help with this so people can at least see what kind of HTML/CSS framework you're dealing with.
Ordinarily, you'd use the margin-left and margin-right set to auto as you did in the first example, but not for the ul. You'd do it with a set of divs so that the centered element has an element of greater width to center in:
And your CSS would be:
Then, as long as #outer-element is set to some width larger than the width of the content of the "access" div (it doesn't have to be 100%, but that ought to work), your access div should be centered.