Re: Automatically resizing an image in a browser

message from easyauctions on 21 Jul 2004
Hey,

Thanks for the reply. I find the resizing problem to be my main problem with
using dreamweaver...I am a newbie to the program. How would I go about resizing
the container? Anyone else have any other ideas, I would greatly appreciate
them.

Thanks
 
Murray *TMM* replied to easyauctions on 21 Jul 2004
Here is an example -

<table width="100%">
<tr>
<td bgcolor="blue" align="center"><img src="foo.gif"></td>
</tr>
</table>

(some attributes omitted for clarity)

The table will resize automatically. The image is always in the middle of
the resizing cell. The background of the cell is blue (I am assuming that
the blue is also in the image) so that as the cell resizes the image appears
to stretch.

Run through this tutorial -
http://www.dwfaq.com/tutorials/Tables/flexible_tables.asp
 

Archived message: Re: Automatically resizing an image in a browser (Macromedia Dreamweaver)