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
This commit is contained in:
parent
2bf29fe495
commit
6ef60557e4
|
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -1609,3 +1608,9 @@ img#wpstats {
|
|||
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 */
|
||||
}
|
Loading…
Reference in New Issue