[SOLVED][Drupal 7][Drupal Colorbox] Colorbox does not display correctly in IE8

| | 1 min read

Many Drupal users had reported that Colorbox does not display correctly in IE8 in their Drupal installation. If you are facing the same issue when using Colorbox in IE8 in your Drupal site then read on to know the fix.

Here is the cause and the fix.

  • The problem occurs if you have set the max-width of your image to 100% in your CSS.
    img {
     max-width: 100%;
    }
  • You can fix it by replacing it with the following style
    #cboxLoadedContent img {
     max-width: none;
    }

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.