Index: /CKEditor/trunk/_source/plugins/docprops/dialogs/docprops.js
===================================================================
--- /CKEditor/trunk/_source/plugins/docprops/dialogs/docprops.js	(revision 7219)
+++ /CKEditor/trunk/_source/plugins/docprops/dialogs/docprops.js	(revision 7220)
@@ -546,5 +546,6 @@
 										id : 'marginTop',
 										label : lang.marginTop,
-										style : 'width: 80px; text-align: center; margin: 0px auto',
+										style : 'width: 80px; text-align: center',
+										align : 'center',
 										inputStyle : 'text-align: center',
 										setup : function( doc, html, head, body )
@@ -552,9 +553,5 @@
 											this.setValue( body.getStyle( 'margin-top' ) || body.getAttribute( 'margintop' ) || '' );
 										},
-										commit : commitMargin( 'top' ),
-										onLoad : function()
-										{
-											this.getElement().getParent().setStyle( 'text-align', 'center' );
-										}
+										commit : commitMargin( 'top' )
 									},
 									{
@@ -565,5 +562,6 @@
 												id : 'marginLeft',
 												label : lang.marginLeft,
-												style : 'width: 80px; text-align: center; margin: 0px auto',
+												style : 'width: 80px; text-align: center',
+												align : 'center',
 												inputStyle : 'text-align: center',
 												setup : function( doc, html, head, body )
@@ -571,9 +569,5 @@
 													this.setValue( body.getStyle( 'margin-left' ) || body.getAttribute( 'marginleft' ) || '' );
 												},
-												commit : commitMargin( 'left' ),
-												onLoad : function()
-												{
-													this.getElement().getParent().setStyle( 'text-align', 'center' );
-												}
+												commit : commitMargin( 'left' )
 											},
 											{
@@ -581,5 +575,6 @@
 												id : 'marginRight',
 												label : lang.marginRight,
-												style : 'width: 80px; text-align: center; margin: 0px auto',
+												style : 'width: 80px; text-align: center',
+												align : 'center',
 												inputStyle : 'text-align: center',
 												setup : function( doc, html, head, body )
@@ -587,9 +582,5 @@
 													this.setValue( body.getStyle( 'margin-right' ) || body.getAttribute( 'marginright' ) || '' );
 												},
-												commit : commitMargin( 'right' ),
-												onLoad : function()
-												{
-													this.getElement().getParent().setStyle( 'text-align', 'center' );
-											}
+												commit : commitMargin( 'right' )
 											}
 										]
@@ -599,5 +590,6 @@
 										id : 'marginBottom',
 										label : lang.marginBottom,
-										style : 'width: 80px; text-align: center; margin: 0px auto',
+										style : 'width: 80px; text-align: center',
+										align : 'center',
 										inputStyle : 'text-align: center',
 										setup : function( doc, html, head, body )
@@ -605,9 +597,5 @@
 											this.setValue( body.getStyle( 'margin-bottom' ) || body.getAttribute( 'marginbottom' ) || '' );
 										},
-										commit : commitMargin( 'bottom' ),
-										onLoad : function()
-										{
-											this.getElement().getParent().setStyle( 'text-align', 'center' );
-									}
+										commit : commitMargin( 'bottom' )
 									}
 								]
