I have a problem that is driving me crazy.
I have a wrapper div that contains a div with some text, and an image.
The sizes of the image and the div vary.
The wrapper div adjust to the size of the larger one.
Both of them should be vertically aligned, like here:

I came across this post:
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
As you can see in the fiddle right here:
http://jsfiddle.net/nBXNg/4/
It does not work as expected
I’d be glad if someone could help me with this one.
All you have to do is wrap your each content into
.containerdiv. Updated jsfiddle