0

Aligning images

How do you align an image to the center?

4th Oct 2020, 7:18 PM
Davit Khachidze
Davit Khachidze - avatar
1 Odpowiedź
+ 3
Something like this should do the trick: img { display: block; margin: auto; } You might be interested in: https://www.w3schools.com/howto/howto_css_image_center.asp
4th Oct 2020, 9:33 PM
Josh Greig
Josh Greig - avatar