Check out my code here: http://jsfiddle.net/sfhs6ra1/
I'm facing an issue where I want the title of post #2 to be aligned next to the thumbnail image, taking up more vertical space instead of moving to a new line.
Any suggestions on how I can achieve this?
EDIT: It won't let me post without including some code, so here it is:
HTML
<div class="item">
<div class="vote">
<div class="score">1</div>
</div>
<a href="http://i.imgur.com/"><div class="thumbnail">
<img src="http://i.imgur.com/P84doIKb.jpg" />
</div></a>
<div class="text">
<a href="http://example.org" class="title link">Title</a>
<a href="http://example.org" class="domain">example.org</a>
<div class="submitinfo">submitted 1 minute ago by <span>[username]</span></div>
</div>
</div>
// Additional item elements with similar structure but long titles
CSS
.item{
margin-bottom: 10px;
min-height: 55px;
min-width: 530px;
display: table;
width: 100%;
}
.item .vote{
display: table-cell;
width: 20px;
background-color: #fdc;
display: inline-block;
vertical-align: top;
float: left;
}
.item .vote .score{
width: 38px;
font-weight: bold;
margin-left: -11px;
margin-top: 0px;
margin-bottom: 2px;
}
// CSS styles for different item components