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

git-svn-id: https://develop.svn.wordpress.org/trunk@21516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-08-15 05:08:07 +00:00
parent 2e2fd01f5d
commit 64746c8d75
1 changed files with 6 additions and 1 deletions

View File

@ -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 */
}