WordPress.org

Make WordPress Core

Changeset 21516


Ignore:
Timestamp:
08/15/2012 05:08:07 AM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/style.css

    r21483 r21516  
    287287img.wp-post-image {
    288288    max-width: 100%;
    289     width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
    290289    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
    291290}
     
    16101609    width: 26.041666667%;
    16111610}
     1611.ie img.size-full,
     1612.ie img.size-large,
     1613.ie img.header-image,
     1614.ie img.wp-post-image {
     1615    width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
     1616}
Note: See TracChangeset for help on using the changeset viewer.