I have a image:
<img class="" width="78px" height="78px" border="0" alt="" src="test.png" smartload="7" style="opacity: 1;">
And css:
img {
border: 0;
max-width: 100%;
}
When run as PC (firefox)

When run as mobile is height error:

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want things to scale to ratio, don’t set a width and height… set just one of them. The browser will automatically scale the other dimension for you, based on the height/width ratio.
I’d drop your width/height in the tag, and set just width in your CSS.
You generally don’t need
max-width: 100%.