What is the easiest, quickest way to vertically align differently sized horizontally aligned images? Everything on Google is not working for me or I'm not doing it right... I've tried using the 'vertical-align' property in .media and .media img.
Here's my jsfiddle: http://jsfiddle.net/C8DKc/
HTML
<div id="main">
<div id="avatar">
<img src="http://i.imgur.com/GgxBXAA.png" />
</div>
<div class="media">
<img src="http://i.imgur.com/GmT37TG.png" />
</div>
</div>
CSS
body {
background-color: #e5e5e5;
}
#main {
padding: 10px;
display: inline-block;
width: auto;
background-color: red;
}
#avatar {
display: inherit;
}
.media {
display: inherit;
}
.media img {
margin-left: 10px;
}