diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3
index 0dd6a25dfbc9b5414dedc0269a77d6419c7e99ad..3b1a520b9afd813b09d6e6f6d0dd9b9840c5a454 100644
--- a/ecrire/inc_presentation.php3
+++ b/ecrire/inc_presentation.php3
@@ -2985,13 +2985,14 @@ function install_debut_html($titre = 'AUTO') {
 	if (!$charset = lire_meta('charset')) $charset = 'utf-8';
 	@Header("Content-Type: text/html; charset=$charset");
 
-	echo "<html><head>
+	echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
+	echo "\n<html><head>
 	<title>$titre</title>
 	<meta http-equiv='Expires' content='0'>
 	<meta http-equiv='cache-control' content='no-cache,no-store'>
 	<meta http-equiv='pragma' content='no-cache'>
 	<meta http-equiv='Content-Type' content='text/html; charset=$charset'>
-	<style>
+	<style type='text/css'>
 	<!--
 	a {text-decoration: none; }
 	A:Hover {color:#FF9900; text-decoration: underline;}
@@ -3004,7 +3005,7 @@ function install_debut_html($titre = 'AUTO') {
 	-->
 	</style>
 	</head>
-	<body bgcolor='#FFFFFF' text='#000000' link='#E86519' vlink='#6E003A' alink='#FF9900' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'";
+	<body bgcolor='#FFFFFF' text='#000000' link='#E86519' vlink='#6E003A' alink='#FF9900'";
 
 	if ($spip_lang_rtl) echo " dir='rtl'";
 
@@ -3017,7 +3018,6 @@ function install_debut_html($titre = 'AUTO') {
 
 function install_fin_html() {
 	echo '
-	</font>
 	</td></tr></table>
 	</center>
 	</body>
diff --git a/inc-admin.php3 b/inc-admin.php3
index c016aabca0a48c5ed3b891aabaa3ce17dbd7d432..01b6f37c2eecb4cf92d4c2ffab8ddc3e13baf0d3 100644
--- a/inc-admin.php3
+++ b/inc-admin.php3
@@ -59,9 +59,8 @@ function afficher_boutons_admin($pop) {
 
 	// Feuilles de style admin : d'abord la CSS officielle, puis la perso,
 	// puis celle du squelette (.spip-admin, cf. impression.css)
-	$ret .= "<link rel='stylesheet' href='spip_admin.css' type='text/css'>\n";
-	if (@file_exists('spip_admin_perso.css'))
-		$ret .= "<link rel='stylesheet' href='spip_admin_perso.css' type='text/css'>\n";
+	$ret .= "<link rel='stylesheet' href='spip_admin.css' type='text/css' />\n";
+	if (@file_exists('spip_admin_perso.css')) echo "\t<link rel='stylesheet' href='spip_admin_perso.css' type='text/css' />\n";
 	$ret .= '<div class="spip-admin-float">
 	<div class="spip-admin-bloc" dir="'.lang_dir($lang,'ltr','rtl').'">
 	<div class="spip-admin">
@@ -115,8 +114,8 @@ function page_debug($type,$texte,$fichier) {
 	@header('Content-Type: text/html; charset='.lire_meta('charset'));
 	echo "<html><head><title>Debug $type : $fichier</title>
 	<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
-	<link rel='stylesheet' href='spip_admin.css' type='text/css'>\n";
-	if (@file_exists('spip_admin_perso.css')) echo "<link rel='stylesheet' href='spip_admin_perso.css' type='text/css'>\n";
+	<link rel='stylesheet' href='spip_admin.css' type='text/css' />\n";
+	if (@file_exists('spip_admin_perso.css')) echo "\t<link rel='stylesheet' href='spip_admin_perso.css' type='text/css' />\n";
 	echo "</head><body>\n";
 	echo "<code>$fichier</code>\n";
 	echo '<div class="spip-admin-bloc">
diff --git a/spip_admin.css b/spip_admin.css
index 88cf9bdeaf23c36e9bf04f997f6928ee79564365..9cc90048fcefdce524d8ce73029c75e46cf39d09 100644
--- a/spip_admin.css
+++ b/spip_admin.css
@@ -15,8 +15,6 @@
 	background-color: transparent;
 	font-size: 10px;
 	z-index: 100;
-	color: #6C3;
- /*	line-height: 3em; */
 }
 
 .spip-admin-bloc li {
@@ -36,7 +34,8 @@ a.spip-admin-boutons {
 	text-decoration: none;
 	width: 3em;
 	text-align: center;
-	margin: 1em 0;
+	margin: 0;
+	padding: 1px .5em;
 	font-family: helvetica,arial,sans-serif;
 	font-size: 10px;
 	font-weight: bold;
@@ -44,6 +43,13 @@ a.spip-admin-boutons {
 	color: #0c479d;
 }
 
+a:hover.spip-admin-boutons {
+	background-color: #fc3;
+	border-bottom: 2px solid #36f;
+}
+
 a:active.spip-admin-boutons {
 	background-color: #ccc;
+	border-bottom: 2px solid #f00;
 }
+