0
why align is not working?
4 ответов
+ 5
text-align only work on block element.
div is a block element.
Try to make a parent div.
align attribute is deprecated.
img is inline-block element.
+ 1
cool thanks 😊
+ 1
Just use display: block; and margin: 0 auto; for an image.