שאל שאלות כיצד ללכוד או להמיר דפי אינטרנט או HTML into תמונות, מסמכי CSV, PDF או DOCX וכן כיצד להמיר סרטונים into GIF מונפשות באמצעות ה- API שלנו.
The template way is nice. But the styling differs from the rest of the page. And it is annoying to have to develop pages at different locations: the body in your own programm and the header/footer in your grabzit-account.
Can you make that we can add html as header or footer?
Just like we can send html to generate pdf, screenshot etc (php):
GrabzitClient->HtmlToXXX()
So for a header it could be like:
$html = '<div>..... <span>{page_number}/{number_of_pages}</span> ..... </div>';
GrabzitOptions->setHtmlHeader($html);
Besides the template option from Grabzit, I tried using html/css headers and footers.
It is based on 'position: fixed;' and for the best results you need to use tables or 'display: table[-xxxx];'
But it is still buggy and.... page-numbering is not working inside position-fixed (because it is only rendered once). But they are talking about how to solve it.
So html2header/footer would be the best solution! I do hope Grabzit will make this.
Thanks in advance, Lydia