Ответ 1
Попробуйте следующее:
img {
width: inherit; /* Make images fill their parent space. Solves IE8. */
max-width: 100%; /* Add !important if needed. */
height: auto; /* Add !important if needed. */
}
ИЛИ
img { max-width:100%; height: auto; } /* Enough everywhere except IE8. */
@media \0screen {img { width: auto }} /* Prevent height distortion in IE8. */
Оба решения работают. Разница в том, что width:inherit
делает изображения заполняющими их родительское пространство, тогда как width:auto
увеличивает их в своих действительных размерах. См. fit.css