[HTML] Centering a div or some text

By.

min read

My profile

Share this:

Text centering:
[code:1:2beba83130]text-align: center;[/code:1:2beba83130]

DIV centering:
[code:1:2beba83130] margin-left: auto;
margin-right: auto;[/code:1:2beba83130]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *