example38_dot_tab.php 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. $html = '<h3>Menu</h3>
  3. <div style="border: 0.2mm solid #000088; padding: 1em;">
  4. <p style="text-align: left;">Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus <dottab /> &pound;37.00</p>
  5. <p style="text-align: left;">Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat <dottab /> &pound;3700.00</p>
  6. <p style="text-align: left; color: #880000;">Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus <dottab /> &pound;27.00</p>
  7. <p style="text-align: left;">Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod <dottab /> &pound;7.00</p>
  8. <p style="text-align: left;">Donec et nulla. Sed quis orci <dottab /> &pound;1137.00</p>
  9. </div>
  10. ';
  11. include("../mpdf.php");
  12. $mpdf=new mPDF();
  13. $mpdf->WriteHTML($html);
  14. $mpdf->Output();
  15. exit;
  16. ?>