I am trying to center some 3 lines text vertically on this example that i am playing with
http://thejit.org/static/v20/Jit/Examples/Treemap/example1.html#
But i noticed I cannot use line-height
or height
in this situation. Is there any other way of vertically centering without using height or line height?
//this code below doesnt work right
.node {line-height:8em;}
.node p {display:inline;display:inline-table;display:inline-block;
vertical-align:middle;}