Image with a mimimum size but grows

T

tristan.buckmaster

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
 
N

Neredbojias

With neither quill nor qualm, (e-mail address 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.
 
L

Lauri Raittila

in said:
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>}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top