diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php
index 892c9c0646493b5629b30d0438a003726dbcdced..9c9bc26aaa6d7d831268b1b20b1a41c24ccffa03 100644
--- a/htdocs/lib/functions.inc.php
+++ b/htdocs/lib/functions.inc.php
@@ -1240,9 +1240,9 @@ function dol_loginfunction($notused,$pearstatus)
 	}
 	if ($conf->global->MAIN_HOME)
 	{
-	    print '<table cellpadding="0" cellspacing="0" border="0" align="center" width="750"><tr><td>';
+	    print '<center><table cellpadding="0" cellspacing="0" border="0" align="center" width="750"><tr><td>';
 	    print nl2br(MAIN_HOME);
-	    print '</td></tr></table><br>';
+	    print '</td></tr></table></center><br>';
 	}
     
 	// Fin entete html