j'essaie de faire générer un tableau avec cette librairie mais mes TD ont une hauteur anormalement grande.
Voici mon css :
.tabtache{ width:100%; border-collapse:collapse; } .tabtache .entete{ text-align:center; background-color:#CCCCCC; } .tabtache td{ width:5%; vertical-align:top; border:1px solid #000; padding:2px 3px; } .tabtache .taches{ width:30%; } .tabtache .periodes{ width:30%; }
pour un html de la forme :
<table class="tabtache" cellspacing="0" cellpadding="0"> <tr class="entete"> <td class="taches">Tâches</td> <td>Lu</td> <td>Ma</td> <td>Me</td> <td>Je</td> <td>Ve</td> <td>Sa</td> <td>Di</td> <td>J.F.</td> <td class="periodes">Périodicité</td> </tr> <tr> <td>Vider les corbeilles à papiers</td> <td/> <td class="center">X</td> <td class="center">X</td> <td/> <td class="center">X</td> <td/> <td class="center">X</td> <td/> <td>Hebdomadaire : le mardi, le mercredi, le vendredi, le dimanche de chaque semaine</td> </tr> </table>
et donc voici le resultat sur le PDF:

Merci par avance pour votre aide !
Loïc