Bonjour,
Voilà, la question est dans le titre !!! :-)
Merci d'avance
<body>
<table style="width: 100%">
<tr>
<td align="center">
<!-- Tu mets ton tableau ici -->
</td>
</tr>
</table>
.centrer{
margin-left: auto;
margin-right: auto;
}
<table class="centrer" >
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Document sans nom</title> <style type="text/css"> <!-- table { margin-right: auto; margin-left: auto; } --> </style> </head> <body> <table width="650" border="0" cellspacing="0" cellpadding="2"> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> </table> </body> </html>
Combien cela coûte-t-il au total ? Quelles aides apportent l'état et les acteurs du marché pour alléger cette charge non choisie ? Tous les détails sur Commentçamarche.net.
Alors je ne suis pas un des concepteurs web vieillots !
D'ailleurs il faut expliquer que ta solution va centrer tous les tableaux de la page, ce qui je pense n'est pas forcément souhaité pour les autres tableaux de la page que le tableau principal.