To better organize these comments, I recommend using divs as containers. The first div will hold both the image and comment, the second one will contain the image, and the third will house the comment.
Here's the HTML structure:
<div class="comment-container">
<div class="comment-img">
<!-- Insert code to fetch images from the database -->
</div><!ENDcomment-img>
<div class="comment-field">
<!-- Add code to retrieve comment content from the database -->
</div><!ENDcomment-field>
</div><!ENDcomment-container>
For styling, you can use this CSS:
.comment-container{
padding: 5px;
border-bottom: 1px dashed #009fe4;
margin: 2px 0 5px 0;
}
.comment-img{
float: left;
width: 80px;
height: auto;
}
.comment-field{
width: 700px;
height: auto;
padding: 0 0 0 10px;
}
I hope this clarifies things for you.
@subm0ral