Responsive image not resizing proportionately.

Working a redesign the image on the home page were responding to the the size of the browser, but only the width was changing. Found this article on the web that solved my problem.

The CSS for the img was:

img {      max-width: 100%;

img {
max-width: 100%;
height: auto;

I hope this helps someone else.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *