We have a container with known size.
Inside, we have content with unknown height.
We need to contain that content in the container while centered horizontally and vertically.
The content consists of blocks: label, image, label:
I managed to accomplish this for content shorter than the container, however no luck in the other case. Example: http://jsbin.com/banava/4/edit?html,css,output