Answers for "different css ways to center objects"

-1

how to put container in center of page

#container
{
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}
Posted by: Guest on November-09-2020
7

center text in div container

text-align: center
Posted by: Guest on June-01-2020

Code answers related to "different css ways to center objects"

Browse Popular Code Answers by Language