0
Usually you will use the display: table-cell
in the box where you want to style the vertical position of the text and then use the vertical-align: middle
, but then you need to set a height for that box too.
However, perhaps with display: flex
be much simpler and less ugly. I, if I were you, would study how he behaves. Today I am too old to learn this voice... = P
Could you post some example code? The most appropriate way to solve your problem may depend on how your HTML and CSS are now.
– Oralista de Sistemas
A line-height can help you.
– Rafael Weber
publish the code you are using please.
– RFL