if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image eample using vertical-align can be found here: http://stackoverflow.com/a/13780959/1134615 https://stackoverflow.com/a/13780959/1134615
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image eample using vertical-align can be found here: http://stackoverflow.com/a/13780959/1134615
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image eample using vertical-align can be found here: https://stackoverflow.com/a/13780959/1134615
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image eample using vertical-align can be found here: http://www.w3schools.com/cssref/pr_pos_vertical-align.asp http://stackoverflow.com/a/13780959/1134615
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image http://www.w3schools.com/cssref/pr_pos_vertical-align.asp
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image eample using vertical-align can be found here: http://stackoverflow.com/a/13780959/1134615
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image http://www.w3schools.com/cssref/pr_pos_vertical-align.asp
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top
if the image is always the same height + descriptions lenght is always gonna be similar, you could hack it with line-height or/and margin-top, or using vertical-align on image http://www.w3schools.com/cssref/pr_pos_vertical-align.asp
simple fiddle using line height:
html
<ul>
<li>
<img src=""/>
<p>Sample text</p>
</li>
</ul>
css
ul {
height: 120px;
width: 600px;
outline: red 1px solid;
}
img {
height: 120px;
width: 120px;
float: left;
}
p {
height: 120px;
line-height: 120px;
}