mercredi 15 avril 2015

Aligning difficulties


Vote count:

0




See image attached, I need each box in the bottom left to be right next to the "NO IMAGE" images, I've tried all sorts of aligning but can't seem to figure it out :S is there an easy way of doing this that I'm missing out on?


enter image description here


Here's the code I'm currently using:



<?php
include("header.php");
include("connect.php");

$getchamps = mysqli_query($con,"SELECT * FROM champions ORDER BY date DESC LIMIT 10");

?>

<style type="text/css">
TD{font-family: Arial; font-size: 8pt;}

</style>
<table BORDERCOLOR="grey" align="center" width="200" height="310">
<?php

while($r = mysqli_fetch_array($getchamps)){
$name = $r['name'];

$img = '<img src="images/noimage.gif" />';

?>

<?php echo "<center>",$img,"</center><br>"; ?>

<tr>
<td><b><font style="font-size: 8pt; color:#6699CC;">Name:</font></b></td>
<td><?php echo $name; ?></td>
</tr>

<?php
}
?>
</table>

<?php
include("footer.php");
?>


asked 31 secs ago

Ben

22






Aligning difficulties

Aucun commentaire:

Enregistrer un commentaire