how to center a dic

CSS
.center {
  	text-align: center;
	border: 3px solid green;
} 
Source

Also in CSS: