From 4f5efb84c9e81120b26949cecc626ae866fef46a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 7 Jul 2014 17:26:52 -0700 Subject: [PATCH] Part 2 for fixing #13996: Add a docs callout to help folks using SVG images in IE8-10 --- docs/_includes/css/images.html | 4 ++++ 1 file changed, 4 insertions(+) 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 %}