+ 5
How can put anything to center vertically
Html
3 odpowiedzi
+ 5
You need to use CSS
https://code.sololearn.com/W51CLpHyrWy0/?ref=app
+ 6
Dont exists a way that works in all cases... A way is using flexbox, another is use transform css with positioning, another is manual margin
+ 3
One more way is to make parent div to display:table, it's child - what you want to center - to display:table-cell and vertical-align:middle.