Editor style fixes for IE6 from mt and azaozz. fixes #6004

git-svn-id: https://develop.svn.wordpress.org/trunk@7034 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-26 07:15:59 +00:00
parent 1bd930f056
commit c693745cbe
2 changed files with 28 additions and 4 deletions

View File

@ -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%;
}

View File

@ -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' );
}