Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrollable HTML Content in pdf

I have a scrollable div in HTML. I want to achieve scrolling in PDF.

How do I convert HTML to PDF and achieve this?
Is it possible to embed HTML code inside a PDF file?
If not, what are other ways to obtain a scrolling content inside a PDF file?

Edit:
I have Seen a pdf with scrollable content : Snipp From pdf : Here is Snipp from the Pdf

How this is achieved ? Anyone

like image 903
Nagesh Salunke Avatar asked Feb 23 '26 03:02

Nagesh Salunke


1 Answers

yes, it is possible to append html in pdf Using php TCPDF library, it also supports inline css but i am not sure if it supports overflow or not....but yes it is possible to embed HTML in pdf using TCPDF and is the advantage over FPDF...

like image 110
Rajendra Khabiya Avatar answered Feb 25 '26 15:02

Rajendra Khabiya



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!