What I'd do is create a container for the two other divs. on that container that holds the two divs you do a margin auto for the left and right sides.
So if your container is XYZ pxs wide... then it will auto adjust the margins on the side so it will be centered.
|