+ 1
How To align image In html such as middle,left or right side?
I'm try to align image to middle of web page but doesn't work please help.. I'm new.
2 Answers
+ 1
CSS Pro Tips: Centering Elements by Domino
https://www.sololearn.com/post/37760/?ref=app
https://code.sololearn.com/WhQ1t9sYlc41/?ref=app
+ 1
hi,
you can't directly center <img/>.
you must put it in a bloc tag like <p>...<p>, <div>...</div> or <span>...<\span> and give this bloc tag the style=align:center and vertical-align:middle