diff --git a/dist/404.html b/dist/404.html
index 2eedcf5949baedda8bce3bf72d7b8a7677afab9f..5f45f33a1cb7c89d933a2e07c62b945d0a51d6d3 100644
--- a/dist/404.html
+++ b/dist/404.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 	<title>[#NOM_SITE_SPIP - <:pass_erreur:> 404]</title>
 	<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 	<link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 
 </head>
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 
@@ -47,4 +47,4 @@
 #SPIP_CRON
 
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/dist/article.html b/dist/article.html
index d32348084bc4ebb9b6c8735b5698b8c97b910c15..aba3158e7b4f6b8321d656d8c087672cda3e5a05 100644
--- a/dist/article.html
+++ b/dist/article.html
@@ -1,5 +1,5 @@
 <BOUCLE_article_principal(ARTICLES) {id_article}><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#TITRE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -15,7 +15,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 <div id="navigation">
 
 <h1 class="structure"><:navigation:></h1>
@@ -311,4 +311,4 @@
 
 </body>
 </html>
-</BOUCLE_article_principal>
\ No newline at end of file
+</BOUCLE_article_principal>
diff --git a/dist/auteur.html b/dist/auteur.html
index 40f3978d218dd53048622c63d492c4989833978a..40e0b5b632fe595f17dc0f7c3f6a0e6e8e5b2eca 100644
--- a/dist/auteur.html
+++ b/dist/auteur.html
@@ -1,6 +1,6 @@
 <BOUCLE_auteur_principal(AUTEURS) {id_auteur}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#NOM|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white">
+<body>
 
 <div id="navigation">
 
@@ -65,7 +65,7 @@
 </div>
 
 [<p><b><:envoyer_message:></b></p>
-<div class='spip_encadrer'><b>(#FORMULAIRE_ECRIRE_AUTEUR)</b></div>]
+<div class='spip_encadrer'>(#FORMULAIRE_ECRIRE_AUTEUR)</div>]
 
 <!-- Articles de l'auteur -->
 
diff --git a/dist/breve.html b/dist/breve.html
index 164a92e3b81149eacce986850789e4416613ade6..694cf191e559067537b88cde3d68ca2704b4d025 100644
--- a/dist/breve.html
+++ b/dist/breve.html
@@ -1,6 +1,6 @@
 <BOUCLE_breve_principal(BREVES) {id_breve}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>#TITRE</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 <div id="navigation">
diff --git a/dist/forum.html b/dist/forum.html
index aff66db15171e1c203f19849fe0c0d8e6fb94fef..a5cf73c2dec20c65bd27d938a419d9933521a885 100644
--- a/dist/forum.html
+++ b/dist/forum.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] <:poster_message:></title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 <link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 <div id="navigation">
diff --git a/dist/login.html b/dist/login.html
index aed86c2931a173ba895056220251abf82d0dca18..981a66c16d0095add43cb8e2ceb1a647623b751a 100644
--- a/dist/login.html
+++ b/dist/login.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 	<title><:login_acces_prive:></title>
 	<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
 	<link rel="stylesheet" href="spip_style.css" type="text/css">
 </head>
-<body dir="#LANG_DIR" bgcolor="#ffffff" text="#000000" link="#e86519" vlink="#6e003a" alink="#ff9900">
+<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">
diff --git a/dist/mot.html b/dist/mot.html
index 87443b1188cea4f242c2eb7d6c9a9c009ba72667..f449c0c70ae3c5dc84b902b6c58d00ec36fbb482 100644
--- a/dist/mot.html
+++ b/dist/mot.html
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <BOUCLE_mot_principal(MOTS) {id_mot} {doublons}>
 
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#TITRE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -18,7 +18,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/nouveautes.html b/dist/nouveautes.html
index 4317522d0cf29a056c8b278279f5d55c8fda78dc..610af13aed63c6d74bf48fcc89e9f9496a9147bf 100644
--- a/dist/nouveautes.html
+++ b/dist/nouveautes.html
@@ -32,4 +32,4 @@
 
 -> #URL_SITE_SPIP/#URL_BREVE
 
-</BOUCLE_nv2></BOUCLE0>
\ No newline at end of file
+</BOUCLE_nv2></BOUCLE0>
diff --git a/dist/plan.html b/dist/plan.html
index 73462708c9c9806981308a829969d3b274ffc901..57a151100d16c17230f5d528689d60e7baf77587 100644
--- a/dist/plan.html
+++ b/dist/plan.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] </title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 <link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 <!-- Plan du site -->
diff --git a/dist/recherche.html b/dist/recherche.html
index 394e178d0ddc2627d67cbae38b7d7be90e4ef058..614a6c9cc14e75cae4b74e3c79cb61b94b58cad0 100644
--- a/dist/recherche.html
+++ b/dist/recherche.html
@@ -1,6 +1,6 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title><:resultats_recherche:></title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/resume.html b/dist/resume.html
index d068902b74ffe2ef1d96b20d813e7bff9310e5fc..d6558aab307e7fcdf6eef9188ca01852191a5acc 100644
--- a/dist/resume.html
+++ b/dist/resume.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] </title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 <link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/rubrique.html b/dist/rubrique.html
index 3826066c2e3a9f3bae800a9a9dad7e2dbae077ff..ae02d27cd696939c322033a6bdbd0cc3599de30b 100644
--- a/dist/rubrique.html
+++ b/dist/rubrique.html
@@ -1,6 +1,6 @@
 <BOUCLE_rubrique_principal(RUBRIQUES) {id_rubrique}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#TITRE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -20,7 +20,7 @@
 <link rel="alternate" type="application/rss+xml" title="<:syndiquer_rubrique:>" href="backend.php3?id_rubrique=#ID_RUBRIQUE">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/site.html b/dist/site.html
index aaa44b9c2230a32e73d5df1f9eae3e8ca83a6173..94eb5f87dd087aae7cdbe76c9383859c9c7c0209 100644
--- a/dist/site.html
+++ b/dist/site.html
@@ -1,8 +1,6 @@
 <BOUCLE_site(SITES){id_syndic}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#NOM_SITE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -19,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/sommaire.html b/dist/sommaire.html
index 0a249bf0b5c3e195f17aa94da99ee780b16e6e95..0847783e1bf6425c2d96b3a926f6e17959a50264 100644
--- a/dist/sommaire.html
+++ b/dist/sommaire.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] </title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="backend.php3">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/sommaire_texte.html b/dist/sommaire_texte.html
index 82b26d985aec3a2f170dfeba0f9c742cdda40571..460ddef1812642f9f9b113f5cc4300df2da13a7b 100644
--- a/dist/sommaire_texte.html
+++ b/dist/sommaire_texte.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <!--
 // ACCESSIBILITE
 // la page /oo offre une lecture en mode "texte seul"
@@ -13,7 +13,7 @@
 	<meta http-equiv="AUTHOR" content="#NOM_SITE_SPIP">
 	<meta http-equiv="DESCRIPTION" content="Edition en mode texte de #NOM_SITE_SPIP">
 </head>
-<body dir="#LANG_DIR">
+<body>
 	<hr />
 	<:edition_mode_texte:> <a href="#URL_SITE_SPIP">{#NOM_SITE_SPIP}</a>
 	<hr />