How to add html tag into header and footer

520 views
Skip to first unread message

uoon

unread,
Aug 26, 2009, 1:51:36 AM8/26/09
to dompdf
Hi all,
I did add some text and image into footer but I can't add some html
tag in this.
Someone can help me please
uoon

BrianS

unread,
Aug 27, 2009, 2:18:48 PM8/27/09
to dompdf
Did you do this through the inline script functions? If so, these do
not accept HTML input, only plain text. You'd have to define the look
manually. This is something on our to-do list.

BrianS

unread,
Apr 22, 2013, 9:25:51 PM4/22/13
to dom...@googlegroups.com
You can now define headers/footers using only CSS. This allows you to use any kind of HTML in the header/footer. See the following example:
http://eclecticgeek.com/dompdf/debug.php?identifier=css_position_fixed

You still can't use HTML in inline script. Since the purpose of inline script is to provide access to the rendering library from within the HTML document the library itself would have to support HTML parsing. Neither CPDF nor PDFLib parse HTML.


On Monday, April 22, 2013 5:27:15 PM UTC-4, Gaëtan Vanistendael wrote:
Hi Brian,

Any update on this? Is it now possible to add html in the footer?

Thanks
Reply all
Reply to author
Forward
0 new messages