Answers for "how to center div in middle"

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 "how to center div in middle"

Browse Popular Code Answers by Language