As mentioned above you could just float both those elements with the correct width and then place a wrapper around both of them and center the wrapper with auto margins. You would need to give the wrapper a width to match the two floats though.