I've got a php code that takes a description from a database and show it next to an image.
When I put margin-left: 5px; to the description it works perfectly, but only in the first line, because when there are two lines only works the margin-left at the first.
I can interpret it in html like this:
<div class="gamedes">
<img class="miniaturas" src="recursos/miniaturas/coster.png">
<div class"gameides>
<a class="gametitle" href="game.php?name='.$row['name'].'">'.$row['name'].'</a>'
<div class="description"><script></script></div><br><br><br><br>'
</div>
</div>
And in the CSS
.miniaturas {
display: inline;
border-radius: 10px;
float: left;
}
.description {
font-size: 15px;
display: inline;
border-radius: 3px;
margin-left: 5px;
overflow: hidden;
}
.gametitle{
font-size: 20px;
font-weight: bold;
display: table-cell;
margin-left: 5px;
}
.gamedes {
width: 50%;
display: inline-block;
}
So how I can put the margin-left at the second line?
Here is the demo: http://jsfiddle.net/Ninjacu/G6tqc/