fixes #4146: IE7-8 responsive image helper

This commit is contained in:
Mark Otto 2012-09-03 01:13:42 -07:00
parent f25129361b
commit 8cda830eaf
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ sub {
}
img {
width: auto\9;
height: auto;
max-width: 100%;
vertical-align: middle;

View File

@ -78,6 +78,7 @@ sub {
img {
max-width: 100%; // Make images inherently responsive
width: auto\9; /* IE7-8 need help adjusting responsive images */
height: auto; // Make images inherently responsive
vertical-align: middle;
border: 0;