A
Andrew Poulos
My page opens in a new window at a predetermined size so I can set the
relative size of an image in the page to maintain its correct aspect
ratio. When the user resize the window the page's content are resized
accordingly (as they are sized proportionally).
What happens though is that a square image can end up as a long thin
rectangle. How can I code it so that the image's aspect ratio is maintained?
Andrew Poulos
relative size of an image in the page to maintain its correct aspect
ratio. When the user resize the window the page's content are resized
accordingly (as they are sized proportionally).
What happens though is that a square image can end up as a long thin
rectangle. How can I code it so that the image's aspect ratio is maintained?
Andrew Poulos