I'm trying to center vertically a button between 2 textarea elements,
I put the divs height the same and and the vertical-align: middle;
for the inner div and it doesn't work properly.
Hope you can help, here is my code:
#in {
display: inline-block;
vertical-align: middle;
height: 200px;
}
#out {
height: 200px;
}
<div id="out">
<textarea rows="10" cols="40"></textarea>
<div id="in">
<input type="button" value="switch">
</div>
<textarea rows="10" cols="40"></textarea>
</div>