Ticket #21440: 21440.image-width.diff
File 21440.image-width.diff, 867 bytes (added by , 12 years ago) |
---|
-
wp-content/themes/twentytwelve/style.css
286 286 img.header-image, 287 287 img.wp-post-image { 288 288 max-width: 100%; 289 width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */290 289 height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 291 290 } 292 291 … … 1608 1607 .ie .widget-area { 1609 1608 float: right; 1610 1609 width: 26.041666667%; 1610 } 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 */ 1611 1616 } 1617 No newline at end of file