Horizontal and vertical align an absolute positioned element via CSS

Maybe I’ve been in the dark or something for knowing how to align an absolutely positioned html element using CSS. This is not a trivial thing to do via CSS so that it is supported cross browsers… Luckily, I stumbled across this site and the quick tutorial for how to do it.