diff --git a/dist/javascript/presentation.js b/dist/javascript/presentation.js
index 7bef7bf1b486334f9c35afa74ad5821b25983c5e..0d962ef08cdf5615c99edc4c5b433a6fafe31b41 100644
--- a/dist/javascript/presentation.js
+++ b/dist/javascript/presentation.js
@@ -6,7 +6,7 @@ function changestyle(id_couche, element, style) {
 	if (init_gauche) {
 		init_gauche = false;
 		if (bug_offsetwidth) {
-			$('#haut-page div.bandeau-principal').find('div.bandeau').each(function(){
+			$('#bandeau-principal div.bandeau').each(function(){
 				if (parseInt(this.style.left) > 0) {
 					demilargeur = Math.floor( this.offsetWidth / 2 );
 					if (demilargeur == 0) demilargeur = 100; // bug offsetwidth MSIE, on fixe une valeur arbitraire
@@ -21,7 +21,7 @@ function changestyle(id_couche, element, style) {
 	}
 
 	// Masquer les elements du bandeau
-	var select = $('#haut-page').find('div.bandeau').not('#'+id_couche);
+	var select = $('#haut-page div.bandeau').not('#'+id_couche);
 	// sauf eventuellement la boite de recherche si la souris passe en-dessous
 	if (id_couche=='garder-recherche') select = select.not('#bandeaurecherche');
 		select.css('visibility','hidden');
diff --git a/dist/style_prive.html b/dist/style_prive.html
index 7eccfd2a644e878be7451c0c48a3484b0539ee1b..f553040d5869fa3555330513d335170ac92c0dde 100644
--- a/dist/style_prive.html
+++ b/dist/style_prive.html
@@ -83,7 +83,7 @@ select.fondl {
  * Icones et bandeaux
  */
 
-.bandeau-principal {
+#bandeau-principal {
 	background-color: #fff;
 	margin: 0;
 	padding: 0;
diff --git a/dist/style_prive_defaut.css b/dist/style_prive_defaut.css
index 621d3a691960cd98261379f7ffaa621d4957b12e..42c6ef6e74da752eccee0c128555c41420a4d668 100644
--- a/dist/style_prive_defaut.css
+++ b/dist/style_prive_defaut.css
@@ -7,7 +7,7 @@ body {
  * Icones et bandeaux
  */
 
-.bandeau-principal {
+#bandeau-principal {
 	background-color: white;
 	margin: 0px;
 	padding: 0px;
@@ -136,4 +136,4 @@ a.icone26:hover {
 }
 a.icone26 img {
 	vertical-align: middle;
-}
\ No newline at end of file
+}
diff --git a/ecrire/inc/boutons.php b/ecrire/inc/boutons.php
index c1b204da9bd784067536c032d316616a6aa05e3a..d7b1e10ff7ea37c9d47e01b3ca398371122216a0 100644
--- a/ecrire/inc/boutons.php
+++ b/ecrire/inc/boutons.php
@@ -462,7 +462,7 @@ function bandeau_double_rangee($rubrique, $sous_rubrique, $largeur)
 
 	return "<div class='invisible_au_chargement' style='position: absolute; height: 0px; visibility: hidden;'><a href='oo'>"._T("access_mode_texte")."</a></div>"
 	. "<div id='haut-page'>"
-	. "<div class='bandeau-principal' align='center'>\n"
+	. "<div id='bandeau-principal' align='center'>\n"
 	. bandeau_principal($rubrique, $sous_rubrique, $largeur)
 	. "<table width='$largeur' cellpadding='0' cellspacing='0' align='center'><tr><td>"
 	. "<div style='text-align: $spip_lang_left; width: ".$largeur."px; position: relative; z-index: 2000;'>"