Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Image with a mimimum size but grows

Reply
Thread Tools

Image with a mimimum size but grows

 
 
tristan.buckmaster@gmail.com
Guest
Posts: n/a
 
      09-16-2005
hi,

How would I create an image that is contained within a table cell that
has a set minimum width and height, but grow as the table cell grows.

My table setup is as follows:

<table>
<tr>
<td>
<table>
<tr>
<td><img .....></td>
<td>..........</td>
<td><img .....></td>
</tr>
<tr>....</tr>
.......
</table>
</td>
<td width="100%">
......
</td>
</tr>
</table>

With those two images being the ones I wish to have the aforementioned
properties.

Thanks,

Tristan

 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      09-16-2005
With neither quill nor qualm, http://www.velocityreviews.com/forums/(E-Mail Removed) quothed:

> hi,
>
> How would I create an image that is contained within a table cell that
> has a set minimum width and height, but grow as the table cell grows.


Javascript. Depending on exactly what you want, you could possibly use
general percentages as well.

--
Neredbojias
Contrary to popular belief, it is believable.
 
Reply With Quote
 
 
 
 
Lauri Raittila
Guest
Posts: n/a
 
      09-16-2005
in alt.html, (E-Mail Removed) wrote:

> How would I create an image that is contained within a table cell that
> has a set minimum width and height, but grow as the table cell grows.


img {width:100%;height:100%;}
td.img {width:<min-width>;height:<min-height>}



--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 mem usage and virtual memory grows and grows until crash watsupwithIE6@somehelppleez.org Computer Support 12 12-27-2006 01:27 PM
mega pixels, file size, image size, and print size - Adobe Evangelists Frank ess Digital Photography 0 11-14-2006 05:08 PM
JPanel grows too wide - how to stop it? Dobieslaw Wroblewski Java 0 01-29-2005 03:45 PM
no mem leak but process grows with STL container Steffen Krippner C++ 0 11-14-2003 09:01 AM
no mem leak but process grows with STL container Steffen Krippner C++ 0 11-14-2003 09:01 AM



Advertisments