I have searched here but can't seem to find a solution for my problem due to the dynamic nature of the divs.
For my site I want a banner image that will scale down as a cheap kinda responsiveness. I have that part down pat, I just cannot get my image to center vertically. I have created a jsFiddle and the code is below.
HTML
<div class="banner col-lg-12">
    <img src="http://laurentvandessel.be/wp-content/uploads/2014/03/placeholder.png" /> 
</div>
CSS
.banner {
    margin-top: 51px;
    margin-bottom: 20px;
    overflow:hidden;
    text-align: center;
    height:300px;
    display: inline-block;
    vertical-align: middle;
}
.banner img {
    position:relative;
    width:100%;
    left: 100%;
    margin-left: -200%;
    display:inline-block;
    vertical-align: middle;
}
Also, if you have a better way of doing what I'm already doing that would be appreciated as well.
Thanks heaps guys.
 
     
     
    