The problem is that pthey spanhave different types display, which leads to different behaviors due to hidden spaces between the lines.
If you want both of them to be the same line-height, force them to have the same type:
display:inline; // or 'block' or 'inline-block'
Jsfiddle demo
source
share