centering something horizontally and vertically in css code example
Example: centering horizontally
div.center{display:block;margin:auto;width:50%;}
p.center{text-align:center;}
div.center{display:block;margin:auto;width:50%;}
p.center{text-align:center;}