As Ralph suggested you should never use that outdated method of centering that you are using because it will slide off the screen and be unreachable for all browsers at small window sizes.
Use the margin:auto method that Ralph suggests.
Try width in em or %
That has no bearing here as it is the absolute centering method that is causing the issue:)