Text aligned to the middle of an image
Hello,
I need to place the text in the middle of images height.
I added padding to text, but different screens show different positions.
How to accomplish that?
The Ctrl+mouse scroll can show the issue.
http://narzedziownie-formy.pl/katalog/producenci/
I need to place the text in the middle of images height.
I added padding to text, but different screens show different positions.
How to accomplish that?
The Ctrl+mouse scroll can show the issue.
http://narzedziownie-formy.pl/katalog/producenci/
Comments
it is obviously not possible to center text vertically. You can control it's height with padding/margin but this is not a good idea because it would look different on different devices.
Thanks for understanding!