It may be the width that should determine the size (or maybe the height).
But more importantly: As you may have guessed, I'm new at web development. I
wanted to try some javascript. I tried calling it in the onload event of the
image and other places but the cell sizes are always zero. (used debugger so
that I could check the values)
thanks
"Eliyahu Goldin" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> Why don't you just specify the height in percentage?
>
> If you care about different browsers, you may want to test it to see if
> all of them handle image percentage height in the same way.
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "AAaron123" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I have an image inside a table cell.
>>
>> I'd like to scale the image to fill the cell.
>>
>> I have a javascript routine that can change the image's height but can't
>> seem to fine a place to call it with the cell dimensions not equal to
>> zero.
>>
>> Got any ideas where?
>>
>>
>> Thanks
>>
>>
>
>