The official way to do it is to give your block level element a width in pixels and set its left and right margins to auto. But this won't work in IE, so you have to hack it a little.
In my August 2021 column, I introduced the composites building block approach as a step-by-step series of mechanical tests of increasing complexity, coupled with analyses performed at each step, that ...