+ 1

How Do I Align A Picture To The Center?

10th Sep 2017, 7:45 PM
Youssef Samir Hamid
Youssef Samir Hamid - avatar
2 Answers
+ 4
you'll use: <style> #myImg{ text-align: center; } </style> <div id="myImg"> <img src="..."> </div>
10th Sep 2017, 8:00 PM
Limitless
Limitless - avatar
+ 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>
10th Sep 2017, 8:11 PM
Aqua9
Aqua9 - avatar