tags:

views:

32

answers:

1

I need to create a pdf using the fpdf class with a colored border that is 15mm thick on the top, right and left and 32mm thick at the bottom (border color is orange for the sake of argument) which leaves a white background in the middle for the text content.

How can I best achieve this please ?

A: 

Don't use FDPF. Use DomPDF - it accepts HTML as input, where you can easily do what you're describing, and produces PDF from it.

Alex
Not very helpful, the question is about fpdf not about what can replace it
I-CRE8