Valider 099cf280 rédigé par Fil's avatar Fil
Parcourir les fichiers

Corrections d'Aurélien Levy :

summary="" vaut mieux que pas de summary (pour les synthèses vocales)

caption - bottom n'est pas pris en compte par IE, d'où incohérences

centrage du caption sur vieux brouseurs
parent 46d32a1f
Chargement en cours
Chargement en cours
Chargement en cours
Chargement en cours
+1 −2
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -698,8 +698,7 @@ function traiter_tableau($bloc) {
				$l = 0;
				if ($caption = trim($cap[1]))
					$debut_table .= "<caption>".$caption."</caption>\n";
				if ($summary = trim($cap[3]))
					$summary = ' summary="'.entites_html($summary).'"';
				$summary = ' summary="'.entites_html(trim($cap[3])).'"';
			}
		// - <thead> sous la forme |{{titre}}|{{titre}}|
		//   Attention thead oblige a avoir tbody
+4 −6
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -1358,18 +1358,16 @@ table.spip {
}

table.spip caption{
	caption-side: bottom; /* top */
	caption-side: top; /* bottom pas pris en compte par IE */
	text-align: center;
	margin-left: auto;                                                       
	margin-right: auto;
	padding: 3px;
	font-weight: bold;
	font-family: Verdana,Arial,Sans,sans-serif;
	font-size : 70%;
}
thead {
padding-bottom: 0px;
margin-bottom: 0px;

}
table.spip tr.row_first {
	background-color: <?php echo $couleur_claire; ?>;
}
+4 −2
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -61,8 +61,10 @@ table.spip {
}

table.spip caption{
	caption-side: bottom; /* top */
	caption-side: top; /* bottom pas pris en compte par IE */
	text-align: center;
	margin-left: auto;                                                       
	margin-right: auto;
	padding: 3px;
	font-weight: bold;
	font-family: Verdana,Arial,Sans,sans-serif;