Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#157094
Merri
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.