0

align of image

i want to make an image at the center of the page so is align="value" is the same code to change the align of image or there is another code ?

25th Jan 2017, 1:20 AM
KhaledMo09
KhaledMo09 - avatar
1 ответ
+ 4
CSS : img {position: relative; left: 0; right: 0; margin: auto} OR <div><img src="#"></div> CSS : div {text-align: center}
25th Jan 2017, 1:29 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar