+ 1
How Do I Align A Picture To The Center?
2 Answers
+ 4
you'll use:
<style>
#myImg{
text-align: center;
}
</style>
<div id="myImg">
<img src="...">
</div>
+ 4
there are many methods you can use simple align attribute ( align="Center")
or styling as
<div style="display:table-cell; vertical-align:middle; text-align:center"> <img src="img.png"> </div>