Regular problem, can't crack it

Dear Forum members,

I have searched everywhere for a solution to my problem but to no avail. I simply wish to center all content in my footer. Now I have tried text-align etc but the text only moves a few pixels and is not centered. See below script and see if you can find a solution =)

#footer {
    background: url(bg_footer.gif) repeat-x #4F4F4F;
    height: 184px;
    width: 760px;
    margin-right: auto;
    margin-left: auto
#footer ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;}
#footer li {
    display: inline;
    float: left;
    padding-right: 10px;}

Any help would be gratefully received!