Pardon mais je n'y arrive pas...
J'ai parcouru le forum en long en large et en travers et je n'ai rien trouvé de suffisament clair pour moi...
Autant le header ne me prend pas la tête, autant le footer me casse les pieds !
Il contient le visuel avec la maison et les mentions.
Peux-tu simplement m'indiquer ce que je ne fais pas bien.
Voici mon code :
<table style="width:750px" border="0" cellpadding="0" cellspacing="0">
<THEAD><tr align="center">
<td style="width:750px">
<img src="images/traitJaune.gif" width="50" height="45" alt=""><br><br>
<span class="TitreMarron">La Boutique</span><br>
<span class="TexteCourantMarron">www.luc-thienpont.com</span> </td>
</tr></THEAD>
<tr align="center">
<td valign="bottom" style="width:750px"><br>
<span class='gigaTitreJaune'>Bon de commande</span><br>
<span class="TitreMarron">N° <?php echo $ID_CMD;?> du <?php echo $date_tte_lettre;?></span><br>
<?php if ($NUM_COLISSIMO != "") {?>
<span class="petiTexteMarron">Expédiée sous le N° <?php echo $NUM_COLISSIMO;?></span><br>
<?php }?> </td>
</tr>
<tr>
<td style="width:750px; height:50px"> </td>
</tr>
</table>
<div style="width:750px"><?php echo $ligne_cde ;?></div>
<table style='width:750px' border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width:750px; height:40px" align="left"> </td>
</tr>
<tr>
<td align="left" style="width:750px">
<table style="width:700px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom" scope="row" align="right" style="width:550px"><span class="SousTitreMarron">Montant total de votre commande :</span></td>
<td align="right" valign="bottom" style="width:150px"><span class="groTitreMarron"><?php echo $tarif_total;?> €</span></td>
</tr>
<tr>
<td valign="bottom" align="right" style="width:550px"><span class="SousTitreMarron">Montant des frais de transport :</span></td>
<td valign="bottom" align="right" style="width:150px"><span class="SousTitreMarron"><?php echo $prix_liv;?></span></td>
</tr>
<tr>
<td colspan="2" valign="bottom" align="right" style="width:700px"> </td>
</tr>
<tr>
<td valign="bottom" align="right" style="width:550px"><span class="SousTitreMarron">TOTAL À RÉGLER :</span></td>
<td valign="bottom" align="right" style="width:150px"> </td>
</tr>
<tr>
<td colspan="2" valign="bottom" align="right" style="width:700px; height:20px"> </td>
</tr>
</table> </td>
</tr>
<tfoot><tr>
<td align="center" style="width:750px"><img src="images/basdepage.jpg" width="730" height="155" alt=""><span class="petiTexteMarron">Capital Social 10 000 € - SIRET : 431 436 583 00014 - R.C.S. Bordeaux : B 431436583<br>
Banque CRCA 33460 Margaux n° 10749306000 - Accise n° FR002 346 E 0424 - TVA : FR58431436583</span></td>
</tr></tfoot>
</table>
<?php
$content = ob_get_clean();
require_once(dirname(__FILE__).'/html2pdf_v3.19/html2pdf.class.php');
$html2pdf = new HTML2PDF('P','A4','fr');
$html2pdf -> Addfont('Georgia','');
$html2pdf -> Addfont('Georgia','B','georgia_bold.php');
$html2pdf -> Addfont('Verdana','');
// $html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->WriteHTML($content, isset($_GET['vuehtml']));
// $html2pdf->pdf->IncludeJS("print(true);");
$html2pdf->Output();
require 'parame/close_connect_LTH.php'; ?>