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 ?
1 ответ
+ 4
CSS :
img {position: relative; left: 0; right: 0; margin: auto}
OR
<div><img src="#"></div>
CSS :
div {text-align: center}