how to create proportional image height/width

Viewed 88580

So, I want to have an image resized to 30% of its original height/width. Pretend you don't know its height or width, how would you go about it using only CSS/HTML?

3 Answers
<img style="max-width: 100%; height: auto; " src="image.jpg" />

i am using percent to max-width and very nice

Related