Page 1 of 1

scaling an image in a table to 100%

Posted: Tue 23. Nov 2004, 14:11
by pixi
Hi , I have a table block with an image left and right of the nav content - when I add more items in the nav, I want the side images to scale according to the size of the nav table - I have tried "*" , "auto" and "100%" none of these work.. any ideas?

http://shj.wcms.servehttp.com:61/index.php?films_and_tv

Posted: Tue 23. Nov 2004, 16:02
by isac
I cant see the link

but, did you tray put only width="100%"

Code: Select all

<img src="templates/subSilver/images/phpwcms_forum_logo.gif" alt="" width="100%" >

snapshot

Posted: Tue 23. Nov 2004, 17:05
by pixi
Here is a snapshot of what is happeneing on the site Hope this helps.. and yes I did try height="100%" any more ideas?Image

Posted: Tue 23. Nov 2004, 17:15
by isac
i really don't understand what are you traying to do, but put imagens in background cell.

paste your code here

here goes

Posted: Tue 23. Nov 2004, 17:53
by pixi
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5"><img name="nav_3" src="images/nav_3.jpg" width="196" height="168" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="nav_5" src="images/nav_5.jpg" width="17" height="282" border="0" alt=""></td>
<td><img name="nav_6" src="images/nav_6.jpg" width="16" height="252" border="0" alt=""></td>
<td align="left" valign="top" bgcolor="#000000"> { <img height="1" src="img/leer.gif" width="1">NAV_TABLE_COLUMN} </td>
<td><img name="nav_8" src="images/nav_8.jpg" width="20" height="252" border="0" alt=""></td>
<td rowspan="2"><img name="nav_9" src="images/nav_9.jpg" width="9" height="282" border="0" alt=""></td>
</tr>
<tr>
<td><img name="nav_10" src="images/nav_10.jpg" width="16" height="30" border="0" alt=""></td>
<td><img name="nav_11" src="images/nav_11.jpg" width="134" height="30" border="0" alt=""></td>
<td><img name="nav_12" src="images/nav_12.jpg" width="20" height="30" border="0" alt=""></td>
</tr>
</table>


Do bG images in tables show in Netscape ? firefox? I am under the implression that they dont ..

Posted: Tue 23. Nov 2004, 18:07
by isac
i think css do!

what's this?

{ <IMG height="1" src="img/leer.gif" width="1">NAV_TABLE_COLUMN}

Posted: Wed 24. Nov 2004, 02:02
by pixi
Hi Isac, thanks for your help... I used the img in a bg table ( I was worried about it in netscape/firefox - but it seems ok) looks ok so far..

http://shj.wcms.servehttp.com:61/index.php?films_and_tv

Ciao - x.