This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > July 2005 > Auto resizing image in table





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Auto resizing image in table
OlDirty

2005-07-08, 7:31 pm

I am grabbing an image from an external website. (working on permission)
I need the image to fit my table size. I cannot seem to force it to do so or
anything else without causing the script to fail.
Any ideas?

<table height="146" id="Tides"><td width="267" height="47" align="center"
valign="middle" bgcolor="#ffffff"> <script>document.write("<a
href='http://www.dairiki.org/tides/daily.php/oly/"+ get_tide_graphic()+
"'>");</script> <script>document.write("<img
src='http://www.dairiki.org/tides/gif.php/oly/" + get_tide_graphic() +
"'>");</script> </a></td>
</table></td>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews