From 7ef95f756b968ba41ecea191148a4f23b9d3eaa2 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 --- wp-content/themes/twentytwelve/header.php | 5 +++++ wp-content/themes/twentytwelve/style.css | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/wp-content/themes/twentytwelve/header.php b/wp-content/themes/twentytwelve/header.php index 567b5e231e..f1a0ee675a 100644 --- a/wp-content/themes/twentytwelve/header.php +++ b/wp-content/themes/twentytwelve/header.php @@ -9,7 +9,12 @@ * @since Twenty Twelve 1.0 */ ?> + + > + diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index e991187b0c..0257ebba94 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/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