I have this HTML:
<div id="wrapmytable">
<div id="custom_left_col">
<img style="display: block; margin-left: auto; margin-right: auto;" src="image.jpg" alt="" />
</div>
<div id="custom_right_col">
<h5>item1</h5>
<h5>item2</h5>
<h5>item3</h5>
</div>
</div>
and this CSS:
#wrapmytable {
width:100%;
height: 100%;
margin:0 auto;
}
#custom_left_col {
float:left;
width:50%;
height: 100%;
background-color: red;
}
#custom_right_col {
float:right;
width:50%;
height: 100%;
background-color: cyan;
}
and I would like vertically center the text based of the height of image. As you can see in my Fiddle, the right column do not take the same height. I tried to play with height and many others combination without success. Any clue ?