Posted by zorro on 07/06/07 16:06
Hello,
I have a square shaped CSS and I would like to resize a picture to fit
it. The problem is that I do not know if it is a portrait or landscape
shape picture, so I do not know whether it is the height or the width
that must be resize to 100% of the CSS. Obviously, I would like to keep
the aspect ratio of the original picture.
Is it possible to do what I want?
Thank you
David L.
[Back to original message]
|