From: Mark Otto Date: Tue, 8 Jul 2014 00:26:52 +0000 (-0700) Subject: Part 2 for fixing #13996: Add a docs callout to help folks using SVG images in IE8-10 X-Git-Tag: v3.3.0~368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f5efb84c9e81120b26949cecc626ae866fef46a;p=thirdparty%2Fbootstrap.git Part 2 for fixing #13996: Add a docs callout to help folks using SVG images in IE8-10 --- diff --git a/docs/_includes/css/images.html b/docs/_includes/css/images.html index 4e0fc4a770..78f4c65b83 100644 --- a/docs/_includes/css/images.html +++ b/docs/_includes/css/images.html @@ -3,6 +3,10 @@

Responsive images

Images in Bootstrap 3 can be made responsive-friendly via the addition of the .img-responsive class. This applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.

+
+

SVG images and IE 8-10

+

In Internet Explorer IE 8-10, SVG images with .img-responsive are disproportionately sized. To fix this, add width: 100% \9; where necessary. Bootstrap doesn't apply this automatically as it causes complications to other image formats.

+
{% highlight html %} Responsive image {% endhighlight %}