diff --git a/dist/login.html b/dist/login.html
index 4edf520c0b6ece406ad9ccc57f456bca41295c26..cf175dfca29d72074516b5d63aceb12c0c35dae8 100644
--- a/dist/login.html
+++ b/dist/login.html
@@ -8,10 +8,10 @@
 <body bgcolor="#ffffff" text="#000000" link="#e86519" vlink="#6e003a" alink="#ff9900">
 
 <br /><br /><br /><center><table width="400"><tr><td width="400">
-<div align="center">
+<div style="float: center">
 <h3 class="spip">#NOM_SITE_SPIP<br />
 <small><:login_acces_prive:></small></h3>
-<div align="#LANG_RIGHT">#MENU_LANG_ECRIRE</div>
+<div style="text-align: #LANG_RIGHT">#MENU_LANG_ECRIRE</div>
 </div>
 
 #LOGIN_PRIVE
diff --git a/spip_cookie.php3 b/spip_cookie.php3
index e9412e116ecfe53f62d3723a2ed047737df3718b..e6bccc360fc82534903da9d13e5c8c7033533d52 100644
--- a/spip_cookie.php3
+++ b/spip_cookie.php3
@@ -101,7 +101,7 @@ if ($logout) {
 // le cas echeant.
 if ($test_echec_cookie == 'oui') {
 	spip_setcookie('spip_session', 'test_echec_cookie');
-	redirige_par_entete("spip_login.php3?var_echec_cookie=oui&url="
+	redirige_par_entete("spip_login.php3?var_echec_cookie=oui&amp;url="
 		. ($url ? $url : _DIR_RESTREINT_ABS));
 }