Set either the width or height to auto and explicitly set the opposite dimension with a fixed length. If width is auto, height has an explicit length , or if height is auto, with has an explicit length.
Liked By
Write Answer
How do you resize an image while maintaining the aspect ratio?
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Join MindStick Community
You have need login or register for voting of answers or question.
AVADHESH PATEL
15-Jun-2013