There shouldn't be any need to add an extra div (or any other extraneous markup) — the element to be centred is already a block-level element. As such, it will happily take margin: 0 auto as-is.
There shouldn't be any need to add an extra div (or any other extraneous markup) — the element to be centred is already a block-level element. As such, it will happily take margin: 0 auto as-is.