I’m having some troubles getting span with text aligned with other span with no content. Take a look here:
http://jsfiddle.net/hp8Ak/
(As you can see the first span jumps down).
Here’s my css:
span {
display: inline-block;
width: 50px;
height: 50px;
font-size: 12px;
background: #377ca2;
color: #fff;
}
What am I doing wrong? Thanks!
Add
vertical-align:top;jsFiddle example