Answers for "align text center of image"

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

Browse Popular Code Answers by Language