Ok i just cant seem to get the divs to work how i want them too.

So i have added code below and also an image...

The red box is an edited image to how i want the code to look like.
The green box is what i currently looks like.

<style>
#user-img {
	float: left;
	width: 50px;
	margin-right: 5px;
	position: relative;
	margin-bottom: auto;
	height: auto;
}
#user-name {
	float: left;
	max-width: 92px;
	margin-right: 5px;
	position: relative;
	height: auto;
}
#comment-message {
	width: auto;
	max-width: 395px;
	float: left;
	margin-right: 10px;
	position: relative;
	height: auto;
	margin-bottom: 2px;
}
#comment-delete {
	width: 5px;
	float: left;
}
#comment-reply {
	width: 30px;
	float: right;
}
#comment-time {
	width: 100px;
	float: right;
	margin-left: auto;
}


</style>
 <div id="user-img"> <img src='http://runningprofiles.com/members/roundedCorners.php?src=http://www.runningprofiles.com/members/imageupload/test/<?php echo $username1;?>50.jpg&amp;radius=05&amp;imagetype=jpeg&amp;backcolor=ffffff' alt = "thumb_img" border="0" align="middle" /> </div>
  <div id="user-name"><?php echo '<a href="'.$username1.'"> <b>'.$username1.'</b></a>' ?> </div>
  <div id="comment-message"> <?php echo $msg;?> </div>
  <div id="comment-delete">
    <div class="UIStory_Hide"><a href="http://www.runningprofiles.com/members/<?php echo $user ?>" id="de<?php echo $id ?>" class="delete_update" title="Delete Update"><span style="FONT-SIZE: 10px;COLOR: #900000">X</span></a></div>
  </div>

  
  
<div class='feed_link' id="comment-reply">
 <a href="http://www.runningprofiles.com/members/<?php echo $user ?>" class="comment" id="comment<?php echo $id; ?>">Reply</a>
</div>
 <div id="comment-time">
  <?php echo time_stamp($times) ?>
</div>

image is at below url
http://filedb.experts-exchange.com/incoming/2011/01_w04/t397827/untitled.bmp

you really should upload the images

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.