using the grid system, one of the first approaches to center is by using the offsets.
ex:
this has proven to center whatever it is containing.