scaling an image in a table to 100%

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
pixi
Posts: 18
Joined: Thu 24. Jun 2004, 16:58
Location: London
Contact:

scaling an image in a table to 100%

Post 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
Never trust a chicken in a gimp suit :)
http://www.maxdefinition.net
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post 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%" >
pixi
Posts: 18
Joined: Thu 24. Jun 2004, 16:58
Location: London
Contact:

snapshot

Post 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
Never trust a chicken in a gimp suit :)
http://www.maxdefinition.net
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

i really don't understand what are you traying to do, but put imagens in background cell.

paste your code here
pixi
Posts: 18
Joined: Thu 24. Jun 2004, 16:58
Location: London
Contact:

here goes

Post 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 ..
Never trust a chicken in a gimp suit :)
http://www.maxdefinition.net
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

i think css do!

what's this?

{ <IMG height="1" src="img/leer.gif" width="1">NAV_TABLE_COLUMN}
pixi
Posts: 18
Joined: Thu 24. Jun 2004, 16:58
Location: London
Contact:

Post 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.
Never trust a chicken in a gimp suit :)
http://www.maxdefinition.net
Post Reply