How do I get the \"x\" to be vertically-aligned in the middle of the span?
.foo { height: 50px; border: solid black 1px; display: inline-block;
Set padding-top to be an appropriate value to push the x down, then subtract the value you have for padding-top from the height.