table{ font-size:11px; border-collapse:collapse; margin:auto; width:100%; position:relative; } #all{ margin:auto; width:100%; color: #000000; font: 11px "Lucida Grande",Geneva,Arial,Verdana,Helvetica,sans-serif; } .clearfix { display: block; height:20px; } .percent50 td{ width:50%; } #all h2{ color: #000000; float: right; font-size: 16px; margin: 0 0 10px; } #all h3{ font-size: 13px; padding: 0 0 10px; } } .date{ color: #000000; font: 11px "Lucida Grande",Geneva,Arial,Verdana,Helvetica,sans-serif; } .details{ clear: right; float: right; } .from,.to{ font-weight: bold; margin-bottom: 10px; } .addresses { margin-top: 50px; } .lines{ border-collapse: collapse; border-spacing: 0; width: 100%; } .item-kind first{ } .lines thead th{ border-bottom: 1px solid #000000; color: #686868; font-weight: normal; padding: 5px 10px; text-align: left; vertical-align: bottom; white-space: nowrap; } .lines tbody td { border-bottom: 1px solid #CCCCCC; padding: 8px 10px; vertical-align: top; } .lines first{ color:#FFF; }
logo

Devis N° 4

Date : 17-05-2011
Emmeteur :
212 communication
B12 Guéliz , Marrakech .
Adressé à :
ELQANDILI Yassine
21 QU EL IKHLASS ESSAOUIRA

Dails du devis

Description Qte TVA Prix Unit. HT Total HT
Logo 1 0 100.00 100.00
Bannière 1 0 100.00 100.00
Logo 1 0 100.00 100.00
Logo 1 0 100.00 100.00
'; echo $html; require_once('/html2pdf/html2pdf.class.php'); $html2pdf = new HTML2PDF('P','A4','fr', false, 'ISO-8859-15', array(20, 20, 20, 20)); $html2pdf->WriteHTML($html); ob_end_clean(); $html2pdf->Output('aaas.pdf'); ?>