Centering in DIV. Both. Vertical & Horizontal. Unknown w & h
How to center an object (img) inside a DIV block if the width and height of the image is unknown?
Climbed the Internet, but to no avail. Separately I see horizontal and separately vertical centering. But how to use them together is not clear.
Your help is needed.
')
Source: https://habr.com/ru/post/27083/
All Articles