Menu
Hey everyone,
I’m attempted to resize an image in Firefox, but when I change the width, the height will change as well (and visa versa). It wants to keep the original ratio of the image.
Here some sample code and results
[code]
with(myImg.style)
{
// … more above
width = 20;
// … more below
}
The image will come out as 20 x 20 not 20 x 32 (32 x 32 was the original dimension).