I am looking for the solution which will make elements within anchor vertically aligned to the middle.
Typically I have a name and the numeric value, both in the same table cell, which must be clickable as a whole. The name must be aligned to the left (floated), the numeric value to the right (text-align).
I am using this solution: http://jsbin.com/edecof where everything works just fine until the name is too long to fit on a single line. When it breaks to two or more lines, the numeric value stays vertically aligned to the top, because of the floated element overflows the anchor. Knowing that I am obviously facing the challenge to make anchor 100% height of table cell. Adding a clearfix element doesn't help, adding clearfix solution with before and after tables doesn't help either.
The expected result is to align the number in the middle too.
Any ideas?