Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By JohnAlbin on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-5.x
Introduced in version:
7.x-5.2
Issue links:
Description:
The height of responsive images doesn't adjust properly in IE8.
If you are supporting IE8 in your theme you should add the width: auto;
property to the img {}
ruleset found in the normalize.css/normalize.scss file.
Before:
img {
max-width: 100%;
height: auto;
}
After:
img {
max-width: 100%;
width: auto;
height: auto;
}
Impacts:
Site builders, administrators, editors
Themers