I had been developing my website using Bootstrap and basically, I have this structure..
<div class="container">
<img src="~/Content/Theme/img/image.png" class="img-responsive" style="margin: 0 auto;" />
</div>
It works perfectly on Chrome and Firefox but when I test it on Internet Explorer 9, the image becomes enlarged, even beyond the image size itself. when I used debug mode on IE (F12) and untick the width:100%;
setting under .img-responsive
, it returns to normal.
How should I resolve this? I've already tried a few solution on here including adding .col-sm-12
to the image, but it still doesn't fix it on IE.