Index: /CKEditor/branches/prototype/_source/skins/default/dialog_ie6.js
===================================================================
--- /CKEditor/branches/prototype/_source/skins/default/dialog_ie6.js	(revision 2706)
+++ /CKEditor/branches/prototype/_source/skins/default/dialog_ie6.js	(revision 2707)
@@ -1,1 +1,1 @@
-﻿
+
Index: /CKEditor/branches/prototype/_source/skins/default/skin.js
===================================================================
--- /CKEditor/branches/prototype/_source/skins/default/skin.js	(revision 2706)
+++ /CKEditor/branches/prototype/_source/skins/default/skin.js	(revision 2707)
@@ -82,11 +82,20 @@
 			setSize( dialog, 'b_resize', width - 32, null );
 
-			if ( CKEDITOR.env.ie )
+			if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
 			{
-				var contentWidth = width - 34,
+				var standardsMode = ( CKEDITOR.document.$.compatMode == 'CSS1Compat' ),
+					contentWidth = width - 34,
 					contentHeight = dialog.getPageCount() > 1 ? height - 107 : height - 84,
 					contentsLength = dialog.parts.contents.getChildCount();
-				setSize( dialog, 'title', width - 52, null );
-				setSize( dialog, 'tabs', width - 42, null );
+
+				if ( !standardsMode )
+				{
+					contentWidth += 2;
+					contentHeight += 2;
+					dialog.parts.tabs.setStyle( 'top', '33px' );
+				}
+
+				setSize( dialog, 'title', standardsMode ? width - 52 : width - 32, standardsMode ? null : 31 );
+				setSize( dialog, 'tabs', standardsMode ? width - 42 : width - 32, null );
 				setSize( dialog, 'contents', contentWidth, contentHeight );
 				setSize( dialog, 'footer', width - 32);
@@ -96,5 +105,9 @@
 					var child = dialog.parts.contents.getChild( i );
 					if ( ( child instanceof CKEDITOR.dom.element ) && ( child.$.className || '' ).search( 'cke_dialog_page_contents' ) > -1 )
-						child.setStyles( { width : contentWidth - 20 + 'px', height : contentHeight - 20 + 'px' } );
+						child.setStyles( 
+							{
+								width : contentWidth - ( standardsMode ? 20 : 0 ) + 'px',
+								height : contentHeight - ( standardsMode ? 20 : 0 ) + 'px'
+							} );
 				}
 			}
