From 7ded30772ce3695997c84de46368dc1e88acb94a Mon Sep 17 00:00:00 2001 From: lancewillett Date: Wed, 8 Aug 2012 18:03:59 +0000 Subject: [PATCH] Twenty Twelve: add basic styles for IE7 and IE8, supports basic layout now with the small-nav styles. Props obenland, closes #21440. git-svn-id: http://core.svn.wordpress.org/trunk@21482 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- header.php | 5 +++++ style.css | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/header.php b/header.php index 567b5e231..f1a0ee675 100644 --- a/header.php +++ b/header.php @@ -9,7 +9,12 @@ * @since Twenty Twelve 1.0 */ ?> + + > + diff --git a/style.css b/style.css index e991187b0..0257ebba9 100644 --- a/style.css +++ b/style.css @@ -1587,4 +1587,25 @@ img#wpstats { margin-left: 50px; margin-left: 3.57142857rem; } +} + + +/* =IE 7 and 8 +----------------------------------------------- */ + +.ie .site { + margin: 48px auto; + max-width: 960px; +} +.ie .site-content { + float: left; + width: 65.104166667%; +} +.ie .full-width .site-content { + float: none; + width: 100%; +} +.ie .widget-area { + float: right; + width: 26.041666667%; } \ No newline at end of file