From: Mark Otto Date: Mon, 3 Sep 2012 08:13:42 +0000 (-0700) Subject: fixes #4146: IE7-8 responsive image helper X-Git-Tag: v2.1.1~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cda830eaf568be8204a96ca635c0bed373028ff;p=thirdparty%2Fbootstrap.git fixes #4146: IE7-8 responsive image helper --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index ccafb83bb4..32cc021ea9 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -67,6 +67,7 @@ sub { } img { + width: auto\9; height: auto; max-width: 100%; vertical-align: middle; diff --git a/less/reset.less b/less/reset.less index fc27e9c878..3261124e0f 100644 --- a/less/reset.less +++ b/less/reset.less @@ -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;