View Single Post
  #7 (permalink)  
Old Jul 30th, 2006, 17:35
AdRock's Avatar
AdRock AdRock is offline
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is it possible to align images in a div class?

I orignally put this code in but it would only align images on one side whereas I would like one image on the left and another image on the right as there would only be two items of news per page.

This code works perfectly if i didn't mind that
PHP: Select all

while($code = mysql_fetch_array($q)) {?>
     <? $date $code['date'];  ?>
     
     <b><?php echo $code['title']; ?></b><br>
     Added on: <?php echo $date?><br>
     <p class="style3"><?php echo $code['content']; ?></p><img src="images/jack1.jpg"><br>
<?}
Reply With Quote