Hi,
I am using the following code:
--
<table width="100%" border="0" cellspacing="3" cellpadding="5">
<tr>
<td width="30%" valign="top" class="border"><span class="sub_heading">Years</span></td>
<td width="70%" valign="top" class="border">
<?php
$sql = 'SELECT year FROM all_years WHERE id = "'.$id.'" ORDER BY year ASC';
$result = $db->query($sql);
$numrows = $result->num_rows;
$count = 1;
while ($row = $result->fetch_assoc()) {
if ($row['year'] != $tmp) {
if ($count != 1) {
echo ' ,';
}
echo '<a href="main.php?page=year_result&year='.$row['year'].'">'.$row['year'].'</a>';
}
$tmp = $row['year'];
$count++;
}
?>
</td>
</tr>
</table>
In Firefox, the table works correctly and the years wrap once they reach the end of the second column...
In IE, it refuses to wrap and keeps pushing the second column and the page becomes distorted.
Is there something that can be done about this?
Thanks for any help,
~Oni.