diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index 756832cd9a..92f65d1b12 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -21,3 +21,20 @@ display: block; position: relative; } + +#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #editorcantainer { +display: block; +zoom: 100%; +} + +* html #editorcontainer { +padding: 0; +} + +* html #editorcontainer #content { +position: relative; +overflow: auto; +padding: 6px; +margin: auto; +width: 98%; +} diff --git a/wp-admin/js/editor.js b/wp-admin/js/editor.js index bcd67480c2..336f506123 100644 --- a/wp-admin/js/editor.js +++ b/wp-admin/js/editor.js @@ -91,11 +91,18 @@ switchEditors = { ed.hide(); ta.value = this.pre_wpautop(ta.value); - ta.style.width = '100%'; - qt.style.display = 'block'; - ec.style.padding = '6px'; - ta.style.color = ''; + + if ( tinymce.isIE6 ) { + ta.style.width = '98%'; + ec.style.padding = '0px'; + ta.style.padding = '6px'; + } else { + ta.style.width = '100%'; + ec.style.padding = '6px'; + } + + ta.style.color = ''; this.wpSetDefaultEditor( 'html' ); }