I have the following html code. I try to center vertically a text next to an image, both into a Div.
Code: Select all
<img src="image.jpg" style="width:200px; height:65px" />
<span style="vertical-align: middle">Doesn't work.</span>
If I add "vertical-align: top;" it does work, the text is displayed on top. Why won't "vertical-align: middle;" work?