centrer la grille

This commit is contained in:
Adrien MALINGREY 2025-04-25 03:06:02 +02:00
parent 967d5de46c
commit 33dd403de1

View File

@ -84,6 +84,7 @@ $grille = new Grille($hauteur, $largeur, $id);
<?php for ($c = 0; $c < $largeur; $c++): ?> <?php for ($c = 0; $c < $largeur; $c++): ?>
<th><?= chr($c + 65) ?></th> <th><?= chr($c + 65) ?></th>
<?php endfor; ?> <?php endfor; ?>
<th></th>
</tr> </tr>
<?php for ($l = 0; $l < $hauteur; $l++): ?> <?php for ($l = 0; $l < $hauteur; $l++): ?>
<tr> <tr>
@ -97,7 +98,6 @@ $grille = new Grille($hauteur, $largeur, $id);
<?php endif; ?> <?php endif; ?>
</td> </td>
<?php endfor; ?> <?php endfor; ?>
<th></th>
</tr> </tr>
<?php endfor; ?> <?php endfor; ?>
</table> </table>