I have this code:
echo '<td border="0"><center><a href="ad_details.php?ad='.$feature_rows["$feature"]['ID'].'" border="0"><img src="'.$feature_rows["$feature"]['image'].'" height="56" width="75"><br>'.$feature_rows["$feature"]['title'].' </a></center></td>';
It echoed it to where it would show an image, but it has a border, but it won't go away.
Any ideas?
Thanks! 🙂
Try this
<?php echo '<td border="0"><center><a href="ad_details.php?ad='.$feature_rows["$feature"]['ID'].'" border="0"><img src="'.$feature_rows["$feature"]['image'].'" height="56" width="75" style="border:0px;"><br>'.$feature_rows["$feature"]['title'].' </a></center></td>'; ?>
Yeah it's because you put the 'border="0"' attribute in the anchor tag and not in the image tag where it belongs.
oh i forgot to say what i did lol,
Exactly what specialFX said, i added the border:0; to the image tag.
Quite rightly the border is around the image.
That worked great, THANKS! 🙂
Gd stuff :thumbup:
as the mods would say, make sure you mark the thread as resolved