Answers for "How To Center or Align Text and Images on Your Webpage with html with best example"

7

center text in div container

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

how to assign something in center inside a div

IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }
...
<IMG class="displayed" src="..." alt="...">
Posted by: Guest on October-20-2020

Code answers related to "How To Center or Align Text and Images on Your Webpage with html with best example"

Browse Popular Code Answers by Language