diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3 index 76305a79b396ee5166fe90ff503c6c05098af5af..10b84ca3e5185dce2227cab838514bbe22452fd0 100644 --- a/ecrire/inc_texte.php3 +++ b/ecrire/inc_texte.php3 @@ -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 diff --git a/ecrire/spip_style.php3 b/ecrire/spip_style.php3 index 1d7f08ae2ab740578c810b1d507ac4be1e06962e..5380f21dea16116b695161b4616acd6842f1b335 100644 --- a/ecrire/spip_style.php3 +++ b/ecrire/spip_style.php3 @@ -1358,18 +1358,16 @@ table.spip { } table.spip caption{ - caption-side: bottom; /* top */ - text-align:center; + 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; ?>; } diff --git a/spip_style.css b/spip_style.css index b3f2da167ce1271f1889abd021d8c234a8a59065..8dcede85ba5cba7a6b47df19b80e8dd7d6f84ade 100644 --- a/spip_style.css +++ b/spip_style.css @@ -61,8 +61,10 @@ table.spip { } table.spip caption{ - caption-side: bottom; /* top */ - text-align:center; + 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;