css – align text to an image vertically
Have you ever wanted to align the text next to an image vertically?
It can be done using vertical-align
property as shown below. Here, we show how to align the text to top, middle, and bottom of the image.
@tutorialhorizon
Have you ever wanted to align the text next to an image vertically?
It can be done using vertical-align
property as shown below. Here, we show how to align the text to top, middle, and bottom of the image.