• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
set heading for all pages using mpdf

I want to set header for all pages using my mpdf class. but not in proper alignment
 <htmlpageheader name="myHTMLHeader">
 <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: middle; font-family:
serif; font-size: 15pt; color: #000088;">

   <td><img style="vertical-align: top" src="assets/images/logo.png" width="80" />
 <td width="80%" align="center">company name </td> 
 <td width="100%"  align="center">Address1 </td> 

 <td width="100%"  align="center">Address2 </td> 


<sethtmlpageheader name="myHTMLHeader" page="O" value="on" show-this-page="1" />


So what is the issue? You could just set an include header and use it everytime you generate a PDF.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.