I don't think is exact scenario is answered elsewhere. Please don't close it...
I want the span to be centered vertically using vertical align. Even though it is an inline element the vertical-align
property doesn't seem to work.
Here is the JSFiddle.
HTML
<div>
<span>Text</span>
</div>
CSS
div {
background: pink;
width: 100%;
height: 60px; }
span {
vertical-align: middle; }