Answers for "html how to center everything in a div"

CSS
3

how to center a div

.MyDiv{
  	display: block;
  	margin-left: auto;
	margin-right: auto;
}
Posted by: Guest on August-31-2021

Code answers related to "html how to center everything in a div"

Browse Popular Code Answers by Language