This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > autoresize jpg (not flash)





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 autoresize jpg (not flash)
jules

2004-08-02, 7:15 pm

In IE6, it's possible to get jpgs to automaticaly resize themselves
according to the size of the window in wich they're being displayed. Is it
possible to achive that same autoresizability of a jpgs that's inside a
table or even simply centered in a plain html document?


Jeff North

2004-08-02, 7:15 pm

On Sun, 1 Aug 2004 19:26:31 +0200, in macromedia.dreamweaver "jules"
<jgoulot@yahoo.com> wrote:

>| In IE6, it's possible to get jpgs to automaticaly resize themselves
>| according to the size of the window in wich they're being displayed. Is it
>| possible to achive that same autoresizability of a jpgs that's inside a
>| table or even simply centered in a plain html document?
>|


Use percentages for height and width.
<TABLE WIDTH="100%" HEIGHT="10%">
<TR ALIGN="CENTER" VALIGN="MIDDLE">
<TD WIDTH="2%">
<IMG SRC="images/1.gif" WIDTH="100%" HEIGHT="100%">
</TD>
</TR>
</TABLE>

Sponsored Links


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