how to center a div on the page code example
Example 1: how to put container in center of page
#container
{
width: 400px;
margin-left: auto;
margin-right: auto;
}
Example 2: how to make a division center css
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
Example 3: center text css
p {
text-align: center;
}
Example 4: how to put container in center of page
div.InSkinAlignCenter {
margin: 0 auto;
}