i have a variable which is an image
$image = "<img src='$imagelocation' width='50px' height='50px'>";
i want it to be in the center of the td but it doesn't center vertically, it stays at the top, i did this
echo "<td valign='middle'><div class='rollover' align='center'>
<a href=\"imageview.php?id=$number\" onmouseover=\"ChgText($keyword)\">$image</a>
</div>
</td>";
any ideas?