Creating a DIV Center Horizontal Vertical is easy using the DIV Center Horizontal Vertical code snippet generator.
The advantage of using size percentage values and negative translate() transforms, is that it allows the DIV to always center horizontally and vertically and size itself in percentage values according to the viewers screen resolution... sort of like a max-width setting - so to speak.
Obviously, this type of code requires new modern browsers to render proper results.