Can anyone help me figure out how to vertically center text that can be one or two lines long? The text also has a specific line-height set. I attempted the solution provided in this link but it didn't produce the desired result:
<div>
<span>some text here</span>
</div>
<div>
<span>some</span>
</div>
div {
border: 1px solid;
width: 70px;
height: 50px;
line-height: 50px;
}
span {
display: inline-block;
line-height: 14px;
}