Home › Forums › CSS › [Solved] The one time IE does me right and chrome does me wrong › Reply To: The one time IE does me right and chrome does me wrong
November 25, 2013 at 3:04 pm
#157094
Participant
In Bootstrap there is:
@media all {
img {
height: auto;
max-width: 100%;
vertical-align: middle;
border: 0;
}
}
In their minified code. The thing that messes Chrome is max-width: 100%;
as removing that rule fixes Chrome’s render. You may want to override it to none.
This is also one reason why I dislike using frameworks: bugs that can be hard to figure out.
Another suggestion I can give is to take !important away. If something doesn’t work then it is better to have a look at all the rules in use and not try to patch with !important.