From 82180d968b190f7007a143eedbd9dc9cbd631a5c Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 15 Aug 2012 05:08:07 +0000 Subject: [PATCH] Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440. git-svn-id: http://core.svn.wordpress.org/trunk@21516 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 8836c586c..9384ca769 100644 --- a/style.css +++ b/style.css @@ -286,7 +286,6 @@ img.size-large, img.header-image, img.wp-post-image { max-width: 100%; - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } @@ -1608,4 +1607,10 @@ img#wpstats { .ie .widget-area { float: right; width: 26.041666667%; +} +.ie img.size-full, +.ie img.size-large, +.ie img.header-image, +.ie img.wp-post-image { + width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ } \ No newline at end of file