First try for issue #13 : OK with Firefox and IE>=8 but not with Webkit
This commit is contained in:
parent
7ec1a2fc8e
commit
be16c63fd7
17
print.css
17
print.css
@ -42,6 +42,23 @@ div.cadre tr.ajout_reponse {
|
||||
display:none;
|
||||
}
|
||||
|
||||
table {
|
||||
page-break-inside:auto
|
||||
}
|
||||
|
||||
tr {
|
||||
page-break-inside:avoid;
|
||||
page-break-after:auto;
|
||||
}
|
||||
|
||||
thead {
|
||||
display:table-header-group;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
display:table-footer-group;
|
||||
}
|
||||
|
||||
div.addcomment {
|
||||
display:none;
|
||||
}
|
||||
|
@ -266,7 +266,7 @@ echo _("If you want to vote in this poll, you have to give your name, choose the
|
||||
echo '</div>'."\n";
|
||||
|
||||
// Debut de l'affichage des resultats du sondage
|
||||
echo '<table class="resultats">'."\n";
|
||||
echo '<table class="resultats">'."\n".'<thead>';
|
||||
|
||||
//On récupere les données et les sujets du sondage
|
||||
$nblignes = $user_studs->RecordCount();
|
||||
@ -426,6 +426,8 @@ if ($dsondage->format=="D"||$dsondage->format=="D+") {
|
||||
echo '</tr>'."\n";
|
||||
}
|
||||
|
||||
echo '</thead>'."\n".'<tbody>'."\n";
|
||||
|
||||
//Usager pré-authentifié dans la liste?
|
||||
$user_mod = false;
|
||||
|
||||
@ -532,6 +534,8 @@ for ($i=0; $i < $nbcolonnes; $i++) {
|
||||
}
|
||||
}
|
||||
|
||||
echo '</tbody>'."\n".'<tfoot>'."\n";
|
||||
|
||||
// Affichage des différentes sommes des colonnes existantes
|
||||
echo '<tr>'."\n";
|
||||
echo '<td align="right">'. _("Addition") .'</td>'."\n";
|
||||
@ -563,6 +567,7 @@ for ($i=0; $i < $nbcolonnes; $i++) {
|
||||
}
|
||||
|
||||
echo '</tr>'."\n";
|
||||
echo '</tfoot>'."\n";
|
||||
echo '</table>'."\n";
|
||||
echo '</div>'."\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user