php - margins and right align footer tcpdf -


i working on generating content invoice need have 'divs' in alignment - header, body, , footer. have header , body in alignment footer's margins dont seem align plus have 2 cells - 1 left aligned , other right aligned. don't align plus margins off.

public function footer() {     $this->sety(-15);     $this->setfont(pdf_font_name_main, ' ', 8);     $this->setfootermargin(15);      //get time     $date = date('m/d/y');     $time = date('h:i:s a');      $this->cell(0, 0, 'date: '.date("y-m-d")." - time: ".$time , 0, false, 'l');     // page number     $this->cell(0, 0, 'page '.$this->getaliasnumpage().'/'.$this->getaliasnbpages(), 0, false, 'r', 0, '', 0, true, 't', 'm'); } 

any suggestions?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -